[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


================
@@ -970,10 +970,10 @@ END_TWO_BYTE_PACK()
   static bool areOnlyUsersOf(ArrayRef<const SDNode *> Nodes, const SDNode *N);
 
   /// Return the number of values used by this operation.
-  unsigned getNumOperands() const { return NumOperands; }
+  uint32_t getNumOperands() const { return NumOperands; }
----------------
npanchen wrote:

I mainly changed it to match written type of `NumOperands`.

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


More information about the llvm-commits mailing list