[llvm] [RISCV] Add branch folding before branch relaxation (PR #134760)

Mikhail R. Gadelha via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 24 15:33:16 PDT 2025


mikhailramalho wrote:

> > There is a considerably smaller code size change, but it's still there.
> 
> It's increasing code size right?

It's at the very bottom of the page that I've sent. It was an internal build. I've updated this PR summary to show the (low) improvements it has on code size.

Regardless, thank you all for your review comments. With the tail duplication removal issue resolved, the numbers aren't hugely compelling, and I don't think it's worth pushing this forward at this time. I know Alex has been looking at cleaning up redundant or improperly canonicalised instructions, so he might retake something similar as part of that.

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


More information about the llvm-commits mailing list