[llvm] [X86][AsmParser] Improve rel8 validation (PR #126073)

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 26 22:08:16 PST 2025


================
@@ -825,6 +828,11 @@ fucomip st, st(2)
 // CHECK: fcompi  %st(2)
 // CHECK: fucompi  %st(2)
 
+jrcxz _nop_label
+jecxz _nop_label + 1
+// CHECK: jrcxz _nop_label
+// CHECK: jecxz _nop_label+1
+
----------------
phoebewang wrote:

Add positive test for Imm8?

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


More information about the llvm-commits mailing list