Skip to content

Commit 1861c7d

Browse files
author
Leon Clark
committed
Code formatting.
1 parent 4d6873f commit 1861c7d

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
@@ -3564,10 +3564,10 @@ bool VectorCombine::shrinkLoadForShuffles(Instruction &I) {
35643564
auto *Shuffle = cast<ShuffleVectorInst>(Use.getUser());
35653565
auto Mask = Shuffle->getShuffleMask();
35663566

3567-
OldCost += TTI.getShuffleCost(
3568-
TTI::SK_PermuteSingleSrc, VecTy, Mask, CostKind);
3569-
NewCost += TTI.getShuffleCost(
3570-
TTI::SK_PermuteSingleSrc, NewVecTy, Mask, CostKind);
3567+
OldCost +=
3568+
TTI.getShuffleCost(TTI::SK_PermuteSingleSrc, VecTy, Mask, CostKind);
3569+
NewCost += TTI.getShuffleCost(TTI::SK_PermuteSingleSrc, NewVecTy, Mask,
3570+
CostKind);
35713571
}
35723572

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

0 commit comments

Comments
 (0)