[llvm] [CodeGen] Allow larger number of operands to be compiled by SelectionDAG (PR #122737)

Nikolay Panchenko via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 13 10:14:44 PST 2025


================
@@ -203,8 +203,8 @@ class MCInstrDesc {
   // find other information elsewhere in the same table.
 
   unsigned short Opcode;         // The opcode number
-  unsigned short NumOperands;    // Num of args (may be more if variable_ops)
-  unsigned char NumDefs;         // Num of args that are definitions
+  uint32_t NumOperands;          // Num of args (may be more if variable_ops)
----------------
npanchen wrote:

thanks. Looks like changes in `llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp` was sufficient and I didn't need to modify this file.

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


More information about the llvm-commits mailing list