https://github.com/arichardson updated 
https://github.com/llvm/llvm-project/pull/238224

>From 6d2994e5f9ff2f5c498e5f42f8510500e2bab331 Mon Sep 17 00:00:00 2001
From: Alex Richardson <[email protected]>
Date: Mon, 2 Nov 2026 22:37:22 -0800
Subject: [PATCH] [nspr] initial commit

---
 llvm/test/MC/RISCV/rv64dc-valid.s    | 8 ++------
 llvm/test/MC/RISCV/xqciint-invalid.s | 8 ++++----
 2 files changed, 6 insertions(+), 10 deletions(-)

diff --git a/llvm/test/MC/RISCV/rv64dc-valid.s 
b/llvm/test/MC/RISCV/rv64dc-valid.s
index 33548869acb41..94d75e443d937 100644
--- a/llvm/test/MC/RISCV/rv64dc-valid.s
+++ b/llvm/test/MC/RISCV/rv64dc-valid.s
@@ -14,20 +14,16 @@
 
 # CHECK-ASM-AND-OBJ: c.fldsp  fs0, 504(sp)
 # CHECK-ASM: encoding: [0x7e,0x34]
-# expected-error@+2 {{instruction requires the following: 'C' (Compressed 
Instructions) and 'D' (Double-Precision Floating-Point) or 'Zcd' (Compressed 
Double-Precision Floating-Point Instructions)}}
-# CHECK-NO-EXT-DC:  error: instruction requires the following: 'C' (Compressed 
Instructions) or 'Zcd' (Compressed Double-Precision Floating-Point 
Instructions), 'D' (Double-Precision Floating-Point){{$}}
+# expected-error@+1 {{instruction requires the following: 'C' (Compressed 
Instructions) and 'D' (Double-Precision Floating-Point) or 'Zcd' (Compressed 
Double-Precision Floating-Point Instructions)}}
 c.fldsp  fs0, 504(sp)
 # CHECK-ASM-AND-OBJ: c.fsdsp  fa7, 504(sp)
 # CHECK-ASM: encoding: [0xc6,0xbf]
-# CHECK-NO-EXT-DC:  error: instruction requires the following: 'C' (Compressed 
Instructions) or 'Zcd' (Compressed Double-Precision Floating-Point 
Instructions), 'D' (Double-Precision Floating-Point){{$}}
 c.fsdsp  fa7, 504(sp) # expected-error {{instruction requires the following: 
'C' (Compressed Instructions) and 'D' (Double-Precision Floating-Point) or 
'Zcd' (Compressed Double-Precision Floating-Point Instructions)}}
 
 # CHECK-ASM-AND-OBJ: c.fld  fa3, 248(a5)
 # CHECK-ASM: encoding: [0xf4,0x3f]
-# expected-error@+2 {{instruction requires the following: 'C' (Compressed 
Instructions) and 'D' (Double-Precision Floating-Point) or 'Zcd' (Compressed 
Double-Precision Floating-Point Instructions)}}
-# CHECK-NO-EXT-DC:  error: instruction requires the following: 'C' (Compressed 
Instructions) or 'Zcd' (Compressed Double-Precision Floating-Point 
Instructions), 'D' (Double-Precision Floating-Point){{$}}
+# expected-error@+1 {{instruction requires the following: 'C' (Compressed 
Instructions) and 'D' (Double-Precision Floating-Point) or 'Zcd' (Compressed 
Double-Precision Floating-Point Instructions)}}
 c.fld  fa3, 248(a5)
 # CHECK-ASM-AND-OBJ: c.fsd  fa2, 248(a1)
 # CHECK-ASM: encoding: [0xf0,0xbd]
-# CHECK-NO-EXT-DC:  error: instruction requires the following: 'C' (Compressed 
Instructions) or 'Zcd' (Compressed Double-Precision Floating-Point 
Instructions), 'D' (Double-Precision Floating-Point){{$}}
 c.fsd  fa2, 248(a1) # expected-error {{instruction requires the following: 'C' 
(Compressed Instructions) and 'D' (Double-Precision Floating-Point) or 'Zcd' 
(Compressed Double-Precision Floating-Point Instructions)}}
diff --git a/llvm/test/MC/RISCV/xqciint-invalid.s 
b/llvm/test/MC/RISCV/xqciint-invalid.s
index b505d8c0f6c01..902497e6cf5e8 100644
--- a/llvm/test/MC/RISCV/xqciint-invalid.s
+++ b/llvm/test/MC/RISCV/xqciint-invalid.s
@@ -126,13 +126,13 @@ qc.c.setint x8
 # minus-error@+1:1 {{invalid instruction}}
 qc.c.mret x8
 
-# CHECK-EXT: :[[@LINE+1]]:1: error: instruction requires the following: 
'Xqciint' (Qualcomm uC Interrupts Extension)
-qc.c.mret # minus-error {{instruction requires the following: 'Xqciint' 
(Qualcomm uC Interrupts Extension)}}
+# minus-error@+1:1 {{instruction requires the following: 'Xqciint' (Qualcomm 
uC Interrupts Extension)}}
+qc.c.mret
 
 
 # plus-error@+2:12 {{unexpected extra operand for instruction}}
 # minus-error@+1:1 {{invalid instruction}}
 qc.c.mnret 10
 
-# CHECK-EXT: :[[@LINE+1]]:1: error: instruction requires the following: 
'Xqciint' (Qualcomm uC Interrupts Extension)
-qc.c.mnret # minus-error {{instruction requires the following: 'Xqciint' 
(Qualcomm uC Interrupts Extension)}}
+# minus-error@+1:1 {{instruction requires the following: 'Xqciint' (Qualcomm 
uC Interrupts Extension)}}
+qc.c.mnret

_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to