Skip to content

Commit ae3e3c4

Browse files
committed
!fixup fix formatting
1 parent b6a0834 commit ae3e3c4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -552,8 +552,9 @@ Value *VPInstruction::generate(VPTransformState &State) {
552552
case Instruction::ExtractElement: {
553553
assert(State.VF.isVector() && "Only extract elements from vectors");
554554
if (getOperand(1)->isLiveIn()) {
555-
unsigned IdxToExtract = cast<ConstantInt>(getOperand(1)->getLiveInIRValue())->getZExtValue();
556-
return State.get(getOperand(0), VPLane(IdxToExtract));
555+
unsigned IdxToExtract =
556+
cast<ConstantInt>(getOperand(1)->getLiveInIRValue())->getZExtValue();
557+
return State.get(getOperand(0), VPLane(IdxToExtract));
557558
}
558559
Value *Vec = State.get(getOperand(0));
559560
Value *Idx = State.get(getOperand(1), /*IsScalar=*/true);

0 commit comments

Comments
 (0)