[llvm] [SLP] Fix PoisonValue in the argument VL of setOperand. (PR #118949)
Han-Kuan Chen via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 10 07:06:10 PST 2024
================
@@ -3338,14 +3335,13 @@ class BoUpSLP {
copy(OpVL, Operands[OpIdx].begin());
}
- /// Set this bundle's operand from \p VL.
- void setOperand(ArrayRef<Value *> VL, const BoUpSLP &R,
+ /// Set this bundle's operand from Scalars.
+ void setOperand(Instruction *VL0, const BoUpSLP &R,
bool RequireReorder = false) {
- VLOperands Ops(VL, R);
+ VLOperands Ops(Scalars, VL0, R);
----------------
HanKuanChen wrote:
We need this one https://github.com/llvm/llvm-project/pull/118609.
https://github.com/llvm/llvm-project/pull/118949
More information about the llvm-commits
mailing list