Skip to content

Commit 7030a9f

Browse files
committed
!fixup fix formatting
1 parent 7c9999a commit 7030a9f

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
@@ -2833,8 +2833,10 @@ bool VectorCombine::foldShuffleExtExtracts(Instruction &I) {
28332833
Builder.SetInsertPoint(*L->getInsertionPointAfterDef());
28342834
auto *NewLoad = cast<LoadInst>(
28352835
Builder.CreateLoad(SrcTy, L->getOperand(0), L->getName() + ".vec"));
2836-
auto *NewExt = isa<ZExtInst>(InnerExt) ? Builder.CreateZExt(NewLoad, DstTy, "vec.ext", InnerExt->hasNonNeg())
2837-
: Builder.CreateSExt(NewLoad, DstTy, "vec.ext");
2836+
auto *NewExt =
2837+
isa<ZExtInst>(InnerExt)
2838+
? Builder.CreateZExt(NewLoad, DstTy, "vec.ext", InnerExt->hasNonNeg())
2839+
: Builder.CreateSExt(NewLoad, DstTy, "vec.ext");
28382840
OuterExt->replaceAllUsesWith(NewExt);
28392841
replaceValue(*OuterExt, *NewExt);
28402842
Worklist.pushValue(NewLoad);

0 commit comments

Comments
 (0)