[llvm] [SLP]Initial FMAD support (PR #149102)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 7 04:49:27 PDT 2025


================
@@ -13587,6 +13688,12 @@ BoUpSLP::getEntryCost(const TreeEntry *E, ArrayRef<Value *> VectorizedVals,
     }
     return IntrinsicCost;
   };
+  auto GetFMulAddCost = [&, &TTI = *TTI](const InstructionsState &S,
+                                         Instruction *VI = nullptr) {
+    InstructionCost Cost = canConvertToFMA(VI ? ArrayRef<Value *>(VI) : VL, S,
----------------
alexey-bataev wrote:

Fixed

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


More information about the llvm-commits mailing list