[llvm] [RISCV] Add isel special case for (and (shl X, c2), c1) -> (slli_uw (srli x, c4-c2), c4). (PR #91638)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Thu May 9 12:02:39 PDT 2024


dtcxzyw wrote:

Emm, https://github.com/llvm/llvm-project/pull/91626 seems to perform better than this patch. BTW this patch converts some `slli` insts into `slli.uw`, which makes them less compressible.


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


More information about the llvm-commits mailing list