[llvm] [SLP] De-duplicate costing of perfect-diamond gather spills (PR #220569)
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 8 06:25:09 PDT 2026
================
@@ -19068,6 +19144,10 @@ InstructionCost BoUpSLP::getSpillCost() {
if (Entry->State == TreeEntry::SplitVectorize ||
(Op->isGather() && allConstant(Op->Scalars)))
continue;
+
+ // Reset the scan budget for analsysis of each edge.
----------------
alexey-bataev wrote:
```suggestion
// Reset the scan budget for analysis of each edge.
```
https://github.com/llvm/llvm-project/pull/220569
More information about the llvm-commits
mailing list