[llvm] [SLP] NFC. Replace TreeEntry::setOperandsInOrder with VLOperands. (PR #113880)
Han-Kuan Chen via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 19 05:07:59 PST 2024
================
@@ -1948,6 +1948,9 @@ class BoUpSLP {
/// A vector of operand vectors.
SmallVector<OperandDataVec, 4> OpsVec;
+ /// When VL[0] is IntrinsicInst, Arg_size is CallBase::arg_size. When VL[0]
+ /// is not IntrinsicInst, Arg_size is User::getNumOperands.
+ unsigned Arg_size;
----------------
HanKuanChen wrote:
> Just mark such operands as non-reordable
Mark operands as non-reordable also requires additional data member to store the information.
https://github.com/llvm/llvm-project/pull/113880
More information about the llvm-commits
mailing list