[llvm] [RISCV] Use addi rather than addiw for immediates materialised by lui+addi(w) pairs when possible (PR #141663)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 2 13:33:41 PDT 2025


topperc wrote:

> I've edited the PR description and written up the extra testing + analysis there. It turns out this is actually results in a meaningful reduction of dynamic instcount for 519.lbm_r (~4%).

Is that from the FoldMemOffset pass?

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


More information about the llvm-commits mailing list