Skip to content

Commit b50f692

Browse files
author
Leon Clark
committed
Code formatting.
1 parent a0a0896 commit b50f692

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

llvm/lib/Transforms/Vectorize/VectorCombine.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3481,7 +3481,7 @@ bool VectorCombine::shrinkLoadForShuffles(Instruction &I) {
34813481
Instruction::Load, NewLoad->getType(), NewLoad->getAlign(),
34823482
NewLoad->getPointerAddressSpace(), CostKind);
34833483

3484-
using UseEntry = std::pair<ShuffleVectorInst*, std::vector<int>>;
3484+
using UseEntry = std::pair<ShuffleVectorInst *, std::vector<int>>;
34853485
auto NewUses = SmallVector<UseEntry, 4u>();
34863486
auto SizeDiff = OldSize - NewSize;
34873487

@@ -3496,10 +3496,10 @@ bool VectorCombine::shrinkLoadForShuffles(Instruction &I) {
34963496
NewMask.push_back(Index >= int(OldSize) ? Index - SizeDiff : Index);
34973497

34983498
// Update costs.
3499-
OldCost += TTI.getShuffleCost(
3500-
TTI::SK_PermuteSingleSrc, VecTy, OldMask, CostKind);
3501-
NewCost += TTI.getShuffleCost(
3502-
TTI::SK_PermuteSingleSrc, NewVecTy, NewMask, CostKind);
3499+
OldCost += TTI.getShuffleCost(TTI::SK_PermuteSingleSrc, VecTy, OldMask,
3500+
CostKind);
3501+
NewCost += TTI.getShuffleCost(TTI::SK_PermuteSingleSrc, NewVecTy,
3502+
NewMask, CostKind);
35033503
}
35043504

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

0 commit comments

Comments
 (0)