[llvm] [TableGen][DecoderEmitter] Report all decoding conflicts (PR #157847)
Rahul Joshi via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 10 07:18:59 PDT 2025
================
@@ -2585,7 +2598,10 @@ template <typename T> constexpr uint32_t InsnBitWidth = 0;
// across all decoder tables.
// - predicates are shared across all decoder tables.
TableInfo.Table.clear();
- TableBuilder.buildTable(FC, BitWidth);
+ HasConflict |= TableBuilder.buildTable(FC, BitWidth);
+ // Skip emitting table entries if a conflict has been detected.
+ if (HasConflict)
+ continue;
----------------
jurahul wrote:
Done.
https://github.com/llvm/llvm-project/pull/157847
More information about the llvm-commits
mailing list