[llvm-branch-commits] [RISC-V] Use an optional offset for C/Zclsd extension instruction (PR #211674)

Alexander Richardson via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Aug 5 14:49:36 PDT 2026


================
@@ -30,14 +30,12 @@ c.sdsp t1, -8(sp) # CHECK: :[[@LINE]]:12: error: immediate must be a multiple of
 c.ld  s0, -8(sp)
 # CHECK: :[[@LINE-1]]:1: error: invalid instruction, any one of the following would fix this:
 # CHECK: :[[@LINE-2]]:7: note: register must be a GPR from x8 to x15
-# CHECK: :[[@LINE-3]]:11: note: invalid operand for instruction
-# CHECK: :[[@LINE-4]]:11: note: immediate must be a multiple of 8 bytes in the range [0, 248]
+# CHECK: :[[@LINE-3]]:11: note: immediate must be a multiple of 8 bytes in the range [0, 248]
----------------
arichardson wrote:

This is a pre-existing problem though, okay to defer that for a future change?

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


More information about the llvm-branch-commits mailing list