[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:55:25 PDT 2026


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

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

Correction:

- FMul needs `contract`
- FMA needs `reassoc`
- FAdd needs `reassoc` and `contract`
So Justin's suggestion is right.

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


More information about the llvm-commits mailing list