[llvm] [RISCV] Optimize (slli (srli (slli X, C1), C1), C2) -> (srli (slli X, C1), C1-C2) (PR #119567)

Piotr Fusik via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 11 10:38:59 PST 2024


pfusik wrote:

Also added a negative test (keep `andi` with small masks) and multi-use.

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


More information about the llvm-commits mailing list