[llvm] [RISCV] Combine (addi (addi)) and add post riscv-opt-w-instrs machine-combiner (PR #171165)

Piotr Fusik via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 8 09:51:28 PST 2025


pfusik wrote:

This is an alternative to #157416 that also addresses pattern 2.
I'm unsure if running machine-combiner for the second time is the best solution, but I incidentally found that it also enables some SHXADD combines.

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


More information about the llvm-commits mailing list