[llvm] [SLP] Fix PoisonValue in the argument VL of setOperand. (PR #118949)
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 9 15:53:08 PST 2024
================
@@ -2542,13 +2541,11 @@ class BoUpSLP {
public:
/// Initialize with all the operands of the instruction vector \p RootVL.
- VLOperands(ArrayRef<Value *> RootVL, const BoUpSLP &R)
+ VLOperands(ArrayRef<Value *> RootVL, Instruction *VL0, const BoUpSLP &R)
----------------
alexey-bataev wrote:
Make VL0 a member of the сlass, it is used in too many cases
https://github.com/llvm/llvm-project/pull/118949
More information about the llvm-commits
mailing list