[flang-commits] [flang] [flang] Join reassociated sums with the head first (PR #223966)
via flang-commits
flang-commits at lists.llvm.org
Wed Sep 16 06:56:35 PDT 2026
https://github.com/jeanPerier approved this pull request.
LGTM
Do you know there would be benefits from using some rule on what should be evaluated first or last instead of using an arbitrary reordering?
I assume in cases like `x = x + ...` and `x = ..... + x` or `x = ... + x + ...`, there may be a better choice with regards to when the x load and add should be in the chain (probably as late as possible?).
https://github.com/llvm/llvm-project/pull/223966
More information about the flang-commits
mailing list