Skip to content

Commit 5f16d8b

Browse files
author
Leon Clark
committed
Code formatting.
1 parent 9033d21 commit 5f16d8b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/lib/Transforms/Vectorize/VectorCombine.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3479,10 +3479,10 @@ bool VectorCombine::shrinkLoadForShuffles(Instruction &I) {
34793479
auto *Shuffle = cast<ShuffleVectorInst>(Use.getUser());
34803480
auto Mask = Shuffle->getShuffleMask();
34813481

3482-
OldCost += TTI.getShuffleCost(
3483-
TTI::SK_PermuteSingleSrc, VecTy, Mask, CostKind);
3484-
NewCost += TTI.getShuffleCost(
3485-
TTI::SK_PermuteSingleSrc, NewVecTy, Mask, CostKind);
3482+
OldCost +=
3483+
TTI.getShuffleCost(TTI::SK_PermuteSingleSrc, VecTy, Mask, CostKind);
3484+
NewCost += TTI.getShuffleCost(TTI::SK_PermuteSingleSrc, NewVecTy, Mask,
3485+
CostKind);
34863486
}
34873487

34883488
if (OldCost < NewCost || !NewCost.isValid()) {

0 commit comments

Comments
 (0)