File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
llvm/lib/Transforms/Vectorize Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments