We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96f76b0 commit 76fae4fCopy full SHA for 76fae4f
llvm/lib/Transforms/Vectorize/VPlan.h
@@ -2156,7 +2156,7 @@ class VPReductionEVLRecipe : public VPSingleDefRecipe {
2156
: VPSingleDefRecipe(
2157
VPDef::VPReductionEVLSC,
2158
ArrayRef<VPValue *>({R->getChainOp(), R->getVecOp(), EVL}),
2159
- R->getUnderlyingInstr()),
+ cast_or_null<Instruction>(R->getUnderlyingValue())),
2160
RdxDesc(R->getRecurrenceDescriptor()), IsOrdered(R->isOrdered()) {
2161
VPValue *CondOp = R->getCondOp();
2162
if (CondOp)
0 commit comments