[llvm] [NFC][TableGen] Add accessors for various instruction subclasses (PR #146615)

Rahul Joshi via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 2 12:12:45 PDT 2025


================
@@ -234,9 +234,13 @@ void InstrInfoEmitter::EmitOperandInfo(raw_ostream &OS,
 /// - A function called getNamedOperandIdx(uint16_t Opcode, uint16_t NamedIdx)
 ///   for looking up the operand index for an instruction, given a value from
 ///   OpName enum
+///
+/// Fixed/Predefined instructions do not have UseNamedOperandTable enabled, so
+/// we can just skip them. Hence accept just the TargetInstructions.
+
----------------
jurahul wrote:

Fixed

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


More information about the llvm-commits mailing list