[llvm] [SLP]Flatten fsub/fneg chains into fadd reductions with per-operand signs (PR #215840)

Ryan Buchner via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 2 22:15:31 PDT 2026


================
@@ -14643,7 +14662,8 @@ void BoUpSLP::reorderGatherNode(TreeEntry &TE) {
 }
 
 /// Check if we can convert fadd/fsub sequence to FMAD.
-/// \returns Cost of the FMAD, if conversion is possible, invalid cost otherwise.
+/// \returns Cost of the FMAD, if conversion is possible, invalid cost
+/// otherwise.
----------------
bababuck wrote:

why changed?

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


More information about the llvm-commits mailing list