[llvm] [RISCV] Compress shxadd to qc.c.muliadd when rd = rs2 (PR #155843)

Sam Elliott via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 28 21:18:36 PDT 2025


================
@@ -58,3 +58,17 @@ qc.shladd x10, x11, x12, 31
 # CHECK-ENC: encoding: [0xaa,0x21]
 qc.muliadd x10, x11, 16
 
+# CHECK-NOALIAS: qc.c.muliadd    a0, a1, 2
+# CHECK-ALIAS: qc.muliadd    a0, a1, 2
----------------
lenary wrote:

It won't, but that's fine IMO

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


More information about the llvm-commits mailing list