[llvm-branch-commits] [llvm] [SLP] Cancel the phantom load saving on fadd reductions that lose an fma (PR #228903)

Alexey Bataev via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sun Oct 4 08:28:02 PDT 2026


================
@@ -473,11 +473,23 @@ class slpvectorizer::BoUpSLP {
 
   TargetTransformInfo::TargetCostKind getCostKind() const { return CostKind; }
 
+  /// Which vectorized load bundles lose the load saving that never
+  /// materializes on targets whose consecutive scalar loads coalesce into the
+  /// same wide access.
+  enum class CoalescedLoadSavings {
----------------
alexey-bataev wrote:

Not a part of SLP

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


More information about the llvm-branch-commits mailing list