[llvm] [InstCombine] Fold binary op of reductions. (PR #121567)

David Green via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 10 14:49:58 PST 2025


https://github.com/davemgreen commented:

This will likely cause performance issues unless they are mitigated. There is a combine in the backend that does that same thing, but it gets guarded by shouldReassociateReduction and being in the backend allows the target to pattern recognize before it gets reassociated.

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


More information about the llvm-commits mailing list