@@ -590,7 +590,7 @@ Region matchMatrixRegionByIndexes(Region FirstRowRegion, ForwardIter FirstIt,
590
590
// <3;2,1> vstride=3, width=2, stride=1
591
591
ShuffleVectorAnalyzer::OperandRegionInfo
592
592
ShuffleVectorAnalyzer::getMaskRegionPrefix (int StartIdx) {
593
- IGC_ASSERT (StartIdx >= 0 &&
593
+ IGC_ASSERT (StartIdx >= 0 &&
594
594
StartIdx < static_cast <int >(SI->getShuffleMask ().size ()) &&
595
595
" Start index is out of bound" );
596
596
@@ -1116,7 +1116,7 @@ void genx::LayoutBlocks(Function &func, LoopInfo &LI)
1116
1116
if (curLoop) {
1117
1117
auto hd = curLoop->getHeader ();
1118
1118
if (blk != hd) {
1119
- // move the block to the beginning of the loop
1119
+ // move the block to the beginning of the loop
1120
1120
auto insp = InsPos[hd];
1121
1121
IGC_ASSERT (insp);
1122
1122
if (blk != insp) {
@@ -1208,18 +1208,18 @@ void genx::LayoutBlocks(Function &func)
1208
1208
{
1209
1209
std::vector<llvm::BasicBlock*> visitVec;
1210
1210
std::set<llvm::BasicBlock*> visitSet;
1211
- // Reorder basic block to allow more fall-through
1211
+ // Reorder basic block to allow more fall-through
1212
1212
llvm::BasicBlock* entry = &(func.getEntryBlock ());
1213
1213
visitVec.push_back (entry);
1214
1214
visitSet.insert (entry);
1215
1215
1216
1216
while (!visitVec.empty ()) {
1217
1217
llvm::BasicBlock* blk = visitVec.back ();
1218
- // push in the empty successor
1218
+ // push in the empty successor
1219
1219
PUSHSUCC (blk, SUCCANYLOOP, SUCCNOINST);
1220
1220
if (blk != visitVec.back ())
1221
1221
continue ;
1222
- // push in the other successor
1222
+ // push in the other successor
1223
1223
PUSHSUCC (blk, SUCCANYLOOP, SUCCHASINST);
1224
1224
// pop
1225
1225
if (blk == visitVec.back ()) {
@@ -1597,7 +1597,7 @@ Type &genx::fixDegenerateVectorType(Type &Ty) {
1597
1597
1598
1598
Function *genx::getFunctionPointerFunc (Value *V) {
1599
1599
Instruction *I = nullptr ;
1600
- for (; I = dyn_cast<CastInst>(V); V = I->getOperand (0 ))
1600
+ for (; ( I = dyn_cast<CastInst>(V) ); V = I->getOperand (0 ))
1601
1601
;
1602
1602
ConstantExpr *CE = nullptr ;
1603
1603
for (; (CE = dyn_cast<ConstantExpr>(V)) &&
0 commit comments