[llvm] [SLP] NFC. Replace TreeEntry::setOperandsInOrder with VLOperands. (PR #113880)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 19 13:08:38 PST 2024


================
@@ -1949,6 +1949,9 @@ class BoUpSLP {
 
     /// A vector of operand vectors.
     SmallVector<OperandDataVec, 4> OpsVec;
+    /// When VL[0] is IntrinsicInst, ArgSize is CallBase::arg_size. When VL[0]
+    /// is not IntrinsicInst, ArgSize is User::getNumOperands.
+    unsigned ArgSize;
----------------
alexey-bataev wrote:

`ArgSize = 0;`

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


More information about the llvm-commits mailing list