[llvm] [TableGen] Add InstrInfoEmitter options for operand type/size mappings (PR #125797)

Sergei Barannikov via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 5 11:50:07 PST 2025


================
@@ -41,6 +41,17 @@
 using namespace llvm;
 
 static cl::OptionCategory InstrInfoEmitterCat("Options for -gen-instr-info");
+
+static cl::opt<bool>
+    EnableOperandTypeMappings("emit-operand-types",
+                              cl::desc("Emit operand type emappings"),
+                              cl::cat(InstrInfoEmitterCat), cl::init(false));
+
+static cl::opt<bool> EnableLogicalOperandSizeMappings(
+    "emit-logical-operand-size",
+    cl::desc("Emit logical operand size emappings"),
----------------
s-barannikov wrote:

emappings -> mappings
above, too


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


More information about the llvm-commits mailing list