Skip to content

Commit 08a732a

Browse files
committed
cleanup
1 parent 525a662 commit 08a732a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3220,7 +3220,7 @@ bool SPIRVInstructionSelector::selectFirstBitSet64Overflow(
32203220
// Per the spec, repeat the vector if only one vec is needed
32213221
.addUse(SrcReg);
32223222

3223-
for (unsigned J = 0; J < LeftComponentCount; J++)
3223+
for (unsigned J = 0; J < LeftComponentCount; ++J)
32243224
MIB.addImm(J);
32253225

32263226
if (!MIB.constrainAllUses(TII, TRI, RBI))
@@ -3243,7 +3243,7 @@ bool SPIRVInstructionSelector::selectFirstBitSet64Overflow(
32433243
// Per the spec, repeat the vector if only one vec is needed
32443244
.addUse(SrcReg);
32453245

3246-
for (unsigned J = LeftComponentCount; J < ComponentCount; J++)
3246+
for (unsigned J = LeftComponentCount; J < ComponentCount; ++J)
32473247
MIB.addImm(J);
32483248

32493249
if (!MIB.constrainAllUses(TII, TRI, RBI))

0 commit comments

Comments
 (0)