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

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 13 09:56:42 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; }
----------------
topperc wrote:

Is there any reason to change this if we aren't changing the users of this function?

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


More information about the llvm-commits mailing list