[llvm] [TTI][RISCV] Unconditionally break critical edges to sink ADDI (PR #108889)
Alex Bradbury via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 20 08:31:12 PDT 2024
asb wrote:
Looking at the diff for this with the GCC torture suite, I think there's one case where it seems this change makes codegen slightly worse that it would be worth you having a quick look at - 20020413-1.c. Previously, each conditional BB loaded an immediate then branched to the common exit block. After this change, the BBs conditionally branch to the BB that loads the needed immediate, which then branches to the common exit block.
This isn't a blocker I don't think, as overall the change is positive.
https://github.com/llvm/llvm-project/pull/108889
More information about the llvm-commits
mailing list