File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3220,7 +3220,7 @@ bool SPIRVInstructionSelector::selectFirstBitSet64Overflow(
3220
3220
// Per the spec, repeat the vector if only one vec is needed
3221
3221
.addUse (SrcReg);
3222
3222
3223
- for (unsigned J = 0 ; J < LeftComponentCount; J++ )
3223
+ for (unsigned J = 0 ; J < LeftComponentCount; ++J )
3224
3224
MIB.addImm (J);
3225
3225
3226
3226
if (!MIB.constrainAllUses (TII, TRI, RBI))
@@ -3243,7 +3243,7 @@ bool SPIRVInstructionSelector::selectFirstBitSet64Overflow(
3243
3243
// Per the spec, repeat the vector if only one vec is needed
3244
3244
.addUse (SrcReg);
3245
3245
3246
- for (unsigned J = LeftComponentCount; J < ComponentCount; J++ )
3246
+ for (unsigned J = LeftComponentCount; J < ComponentCount; ++J )
3247
3247
MIB.addImm (J);
3248
3248
3249
3249
if (!MIB.constrainAllUses (TII, TRI, RBI))
You can’t perform that action at this time.
0 commit comments