Skip to content

Commit 8e7ac4a

Browse files
committed
Fix formatting
Created using spr 1.3.7
1 parent bfb909d commit 8e7ac4a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16129,10 +16129,11 @@ InstructionCost BoUpSLP::calculateTreeCostAndTrimNonProfitable(
1612916129

1613016130
LLVM_DEBUG(dbgs() << "SLP: Recalculate costs after tree trimming.\n");
1613116131
Cost = 0;
16132-
for (const auto &P : NodesCosts){
16132+
for (const auto &P : NodesCosts) {
1613316133
Cost += P.second;
1613416134
LLVM_DEBUG(dbgs() << "SLP: Adding cost " << P.second << " for bundle "
16135-
<< shortBundleName(P.first->Scalars, P.first->Idx) << ".\n"
16135+
<< shortBundleName(P.first->Scalars, P.first->Idx)
16136+
<< ".\n"
1613616137
<< "SLP: Current total cost = " << Cost << "\n");
1613716138
}
1613816139
return Cost;
@@ -17897,7 +17898,7 @@ Value *BoUpSLP::gather(
1789717898
ArrayRef<TreeEntry *> Entries = getTreeEntries(V);
1789817899
const auto *It = find_if(Entries, [&](const TreeEntry *E) {
1789917900
return !TransformedToGatherNodes.contains(E) &&
17900-
!DeletedNodes.contains(E);
17901+
!DeletedNodes.contains(E);
1790117902
});
1790217903
if (It != Entries.end()) {
1790317904
// Find which lane we need to extract.

0 commit comments

Comments
 (0)