Skip to content

Commit 2463b4c

Browse files
ppogotovigcbot
authored andcommitted
Fix for GenerateBlockMemOpsPass.
Fix for GenerateBlockMemOpsPass.
1 parent 2ba320d commit 2463b4c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

IGC/Compiler/CISACodeGen/GenerateBlockMemOpsPass.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,8 @@ bool GenerateBlockMemOpsPass::isIndexContinuous(Value *Indx) {
145145
}
146146
}
147147

148-
return true;
148+
// If local_id_x was met then index is continuous.
149+
return lx;
149150
}
150151

151152

0 commit comments

Comments
 (0)