[llvm] [SLP] Fix PoisonValue in the argument VL of setOperand. (PR #118949)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 10 07:03:34 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:

Ah, no, no, need it.

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


More information about the llvm-commits mailing list