[llvm] [RISCV] Select and/or/xor with certain constants to Zbb ANDN/ORN/XNOR (PR #120221)

Sam Elliott via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 18 08:40:39 PST 2024


================
@@ -273,37 +240,21 @@ define i32 @compl(i32 %x) {
 }
 
 define i32 @orlow12(i32 %x) {
----------------
lenary wrote:

I would add RUN lines with `+zbs`, rather than adding `+zbs` to the existing RUN lines. 

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


More information about the llvm-commits mailing list