[llvm] [RISCV] Add changes to have better coverage for qc.insb and qc.insbi (PR #154135)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 18 21:46:57 PDT 2025


================
@@ -260,3 +260,271 @@ define i64 @insbi_i64_large_mask(i64 %in1) nounwind {
   %xor2 = xor i64 %and1, %in1
   ret i64 %xor2
 }
+
+define i32 @insb(i32 %in1, i32 %in2) nounwind {
----------------
topperc wrote:

Most of these tests seem to be affected by InstCombine. Are we testing the right patterns?

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


More information about the llvm-commits mailing list