Skip to content

Commit 16f7320

Browse files
author
Leon Clark
committed
Code formatting.
1 parent c86d296 commit 16f7320

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

3775-
OldCost += TTI.getShuffleCost(
3776-
TTI::SK_PermuteSingleSrc, VecTy, Mask, CostKind);
3777-
NewCost += TTI.getShuffleCost(
3778-
TTI::SK_PermuteSingleSrc, NewVecTy, Mask, CostKind);
3775+
OldCost +=
3776+
TTI.getShuffleCost(TTI::SK_PermuteSingleSrc, VecTy, Mask, CostKind);
3777+
NewCost += TTI.getShuffleCost(TTI::SK_PermuteSingleSrc, NewVecTy, Mask,
3778+
CostKind);
37793779
}
37803780

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

0 commit comments

Comments
 (0)