Skip to content

Commit ab7281d

Browse files
authored
[VPlan] Update naming in VPInterleaveRecipe constructor. nfc (#152472)
1 parent 1e9ed91 commit ab7281d

File tree

1 file changed

+4
-4
lines changed
  • llvm/lib/Transforms/Vectorize

1 file changed

+4
-4
lines changed

llvm/lib/Transforms/Vectorize/VPlan.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2408,11 +2408,11 @@ class LLVM_ABI_FOR_TEST VPInterleaveRecipe : public VPRecipeBase {
24082408
// TODO: extend the masked interleaved-group support to reversed access.
24092409
assert((!Mask || !IG->isReverse()) &&
24102410
"Reversed masked interleave-group not supported.");
2411-
for (unsigned i = 0; i < IG->getFactor(); ++i)
2412-
if (Instruction *I = IG->getMember(i)) {
2413-
if (I->getType()->isVoidTy())
2411+
for (unsigned I = 0; I < IG->getFactor(); ++I)
2412+
if (Instruction *Inst = IG->getMember(I)) {
2413+
if (Inst->getType()->isVoidTy())
24142414
continue;
2415-
new VPValue(I, this);
2415+
new VPValue(Inst, this);
24162416
}
24172417

24182418
for (auto *SV : StoredValues)

0 commit comments

Comments
 (0)