[llvm] [TableGen][DecoderEmitter] Report all decoding conflicts (PR #157847)
Sergei Barannikov via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 10 06:33:48 PDT 2025
================
@@ -1592,7 +1599,7 @@ void FilterChooser::doFilter() {
// Print out useful conflict information for postmortem analysis.
errs() << "Decoding Conflict:\n";
dump();
- PrintFatalError("Decoding conflict encountered");
+ HasConflict = true;
----------------
s-barannikov wrote:
Alternatively, we could use PrintError here and then check the global `ErrorsPrinted` variable instead of introducing `HasConflict`.
Another alternative is to emit the tables anyway (without conflicting encodings).
https://github.com/llvm/llvm-project/pull/157847
More information about the llvm-commits
mailing list