[llvm] [SLP] Add store-to-load forwarding conflict cost for widened store chains (PR #199606)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 8 05:56:08 PDT 2026


================
@@ -19359,6 +19387,7 @@ BoUpSLP::calculateTreeCostAndTrimNonProfitable(ArrayRef<Value *> VectorizedVals,
   SmallDenseMap<const TreeEntry *, InstructionCost> NodesCosts;
   SmallPtrSet<Value *, 4> CheckedExtracts;
   SmallSetVector<TreeEntry *, 4> GatheredLoadsNodes;
+  SmallPtrSet<const TreeEntry *, 4> NonTrimmableSTLFNodes;
----------------
alexey-bataev wrote:

I think it can be removed completely, does not bring anything useful

https://github.com/llvm/llvm-project/pull/199606


More information about the llvm-commits mailing list