[llvm] [RISCV] Report all near-miss reasons in the AsmParser (PR #205721)
Sam Elliott via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 1 13:50:01 PDT 2026
================
@@ -5,143 +5,143 @@
# RUN: | FileCheck -check-prefixes=CHECK,CHECK-MINUS %s
# CHECK-PLUS: :[[@LINE+2]]:16: error: register must be a GPR excluding zero (x0)
-# CHECK-MINUS: :[[@LINE+1]]:16: error: invalid operand for instruction
+# CHECK-MINUS: :[[@LINE+1]]:1: error: invalid instruction
qc.lrb x5, x2, x0, 4
-# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction
+# CHECK: :[[@LINE+1]]:{{18: error: too few operands for instruction|1: error: invalid instruction}}
----------------
lenary wrote:
I think this needs fixing, but is fine to do in a follow-up.
https://github.com/llvm/llvm-project/pull/205721
More information about the llvm-commits
mailing list