[llvm] [SLP] NFC. Replace MainOp and AltOp in TreeEntry with InstructionsState. (PR #120198)
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 9 07:55:36 PST 2025
================
@@ -3325,9 +3327,7 @@ class BoUpSLP {
/// reordering of operands during buildTree_rec() and vectorizeTree().
SmallVector<ValueList, 2> Operands;
- /// The main/alternate instruction.
- Instruction *MainOp = nullptr;
- Instruction *AltOp = nullptr;
+ InstructionsState S = InstructionsState::invalid();
----------------
alexey-bataev wrote:
Add a comment for this new data member
https://github.com/llvm/llvm-project/pull/120198
More information about the llvm-commits
mailing list