Skip to content

Commit 733f4b5

Browse files
committed
!fixup remove retrieving
1 parent 1a5a728 commit 733f4b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Transforms/Vectorize/VPlanUnroll.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,8 +344,8 @@ void UnrollState::unrollBlock(VPBlockBase *VPB) {
344344
addUniformForAllParts(cast<VPSingleDefRecipe>(&R));
345345
if (Plan.hasScalarVFOnly()) {
346346
auto *I = cast<VPInstruction>(&R);
347-
// Extracting from end with VF = 1 implies retrieving retrieving the
348-
// last or penultimate scalar part (UF-1 or UF-2).
347+
// Extracting from end with VF = 1 implies retrieving the last or
348+
// penultimate scalar part (UF-1 or UF-2).
349349
unsigned Offset =
350350
I->getOpcode() == VPInstruction::ExtractLastElement ? 1 : 2;
351351
I->replaceAllUsesWith(getValueForPart(Op0, UF - Offset));

0 commit comments

Comments
 (0)