[llvm-branch-commits] [llvm] [RISC-V][MC] Use CoerceFromRegClass for GPRPair operands (PR #241443)

Alexander Richardson via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Nov 13 00:09:23 PST 2026


================
@@ -14,13 +14,13 @@ c.sd s2, 4(sp)
 ## GPRPairNoX0
 c.ldsp  x0, 4(sp)
 # CHECK: :[[@LINE-1]]:1: error: invalid instruction, any one of the following would fix this:
-# CHECK: :[[@LINE-2]]:1: note: instruction requires the following: RV64I Base Instruction Set
-# CHECK: :[[@LINE-3]]:9: note: register pair must start with an even GPR other than x0
+# CHECK-DAG: :[[@LINE-2]]:1: note: instruction requires the following: RV64I Base Instruction Set
----------------
arichardson wrote:

Updated

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


More information about the llvm-branch-commits mailing list