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

Han-Kuan Chen via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 9 20:18:48 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)
----------------
HanKuanChen wrote:

If we need to put VL0 into TreeEntry, I suggest we open the original PR (https://github.com/llvm/llvm-project/pull/113880#issuecomment-2523263864) and review there.

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


More information about the llvm-commits mailing list