[llvm] [SLP]Initial FMAD support (PR #149102)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 6 09:12:51 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,
----------------
RKSimon wrote:
where can VI be null? All calls appear to have 2 args, is the default value necessary?
https://github.com/llvm/llvm-project/pull/149102
More information about the llvm-commits
mailing list