[llvm] [TableGen] Use PrintFatalError in ParseTreePattern when DAG has zero operands, so that llvm-tblgen doesn't crash (PR #161417)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 3 03:08:56 PDT 2025
================
@@ -19,21 +19,21 @@ def INSTR_BAR : Instruction {
}
#ifdef ERROR1
-// ERROR1: [[@LINE+1]]:1: error: {{.*}} Invalid number of type casts!
+// ERROR1: error: Invalid number of type casts!
----------------
arsenm wrote:
That would probably be better
https://github.com/llvm/llvm-project/pull/161417
More information about the llvm-commits
mailing list