[llvm] [DAGCombiner] Reassociate FMA chains sharing an FMUL (PR #217496)

Lewis Crawford via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 30 05:25:39 PDT 2026


================

----------------
LewisCrawford wrote:

Yes, I believe you're right. We should check the `contract` flag on both the `fmul` and `fadd`, and the `reassoc` flag on all the `fmul`, `fadd`, and all the `fma` instructions here.

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


More information about the llvm-commits mailing list