[llvm] [MC][TableGen] Expand Opcode field of MCInstrDesc (PR #179652)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 4 09:21:26 PST 2026


================
@@ -203,7 +203,7 @@ class MCInstrDesc {
   // the <Target>Insts table because they rely on knowing their own address to
   // find other information elsewhere in the same table.
 
-  unsigned short Opcode;         // The opcode number
+  unsigned int Opcode;           // The opcode number
----------------
topperc wrote:

Should we just be using sized types like uint32_t for this struct?

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


More information about the llvm-commits mailing list