[llvm] [TableGen] Extend direct lookup to instruction values in generic tables. (PR #80486)

Jason Eckhardt via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 6 07:19:54 PST 2024


================
@@ -663,6 +682,8 @@ void SearchableTableEmitter::run(raw_ostream &OS) {
   // Emit tables in a deterministic order to avoid needless rebuilds.
   SmallVector<std::unique_ptr<GenericTable>, 4> Tables;
   DenseMap<Record *, GenericTable *> TableMap;
+  if (Records.getClass("Instruction"))
----------------
nvjle wrote:

Done (used `getAllDerivedDefinitionsIfDefined`).

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


More information about the llvm-commits mailing list