[llvm] [SDAG] Heed enableAggressiveFMAFusion when folding fma(a,b,c*d)+e (PR #94209)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 13 01:39:57 PDT 2024


jayfoad wrote:

> In a separate patch does the visitFSUBForFMACombine need a similar update?

Yes, similar but different. Currently the equivalent folds in `visitFSUBForFMACombine` are not performed at all without enableAggressiveFMAFusion, even if the intermediate nodes are only used once.

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


More information about the llvm-commits mailing list