[llvm] [TableGen] Eliminate static CodeGenIntrinsicMap in PatternParser (PR #107339)

Rahul Joshi via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 5 23:06:24 PDT 2024


================
@@ -1,5 +1,8 @@
 include "llvm/TableGen/SearchableTable.td"
-include "llvm/IR/Intrinsics.td"
+include "llvm/Target/Target.td"
+
+// Dummy target to pacify SearchTableEmitter code.
+def DummyTarget : Target;
----------------
jurahul wrote:

Agreed, though most other invocations seem conformant, i.e., use the Target.td instead of Intrinsics.td directly. And it does create less plumbing. But I am find going back to the earlier impl if you insist.


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


More information about the llvm-commits mailing list