Skip to content

Commit 2064369

Browse files
committed
Replace getUnderlyingValue() with getUnderlyingInstr()
1 parent 2ad2cdc commit 2064369

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4505,7 +4505,7 @@ static std::pair<VPValue *, VPValue *> matchStridedStart(VPValue *CurIndex) {
45054505
return {WidenIV, WidenIV->getStepValue()};
45064506

45074507
auto *WidenR = dyn_cast<VPWidenRecipe>(CurIndex);
4508-
if (!WidenR || !CurIndex->getUnderlyingValue())
4508+
if (!WidenR || !WidenR->getUnderlyingInstr())
45094509
return {nullptr, nullptr};
45104510

45114511
unsigned Opcode = WidenR->getOpcode();

0 commit comments

Comments
 (0)