Skip to content

Commit 4f1c76b

Browse files
committed
!fixup fix formatting
1 parent 28b5a71 commit 4f1c76b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

llvm/lib/Transforms/Vectorize/VectorCombine.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2819,8 +2819,10 @@ bool VectorCombine::foldShuffleExtExtracts(Instruction &I) {
28192819
Builder.SetInsertPoint(*L->getInsertionPointAfterDef());
28202820
auto *NewLoad = cast<LoadInst>(
28212821
Builder.CreateLoad(SrcTy, L->getOperand(0), L->getName() + ".vec"));
2822-
auto *NewExt = isa<ZExtInst>(InnerExt) ? Builder.CreateZExt(NewLoad, DstTy, "vec.ext", InnerExt->hasNonNeg())
2823-
: Builder.CreateSExt(NewLoad, DstTy, "vec.ext");
2822+
auto *NewExt =
2823+
isa<ZExtInst>(InnerExt)
2824+
? Builder.CreateZExt(NewLoad, DstTy, "vec.ext", InnerExt->hasNonNeg())
2825+
: Builder.CreateSExt(NewLoad, DstTy, "vec.ext");
28242826
OuterExt->replaceAllUsesWith(NewExt);
28252827
replaceValue(*OuterExt, *NewExt);
28262828
Worklist.pushValue(NewLoad);

0 commit comments

Comments
 (0)