Skip to content

Commit 51235cf

Browse files
committed
Update VPlanVerify
1 parent 4cbad66 commit 51235cf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,10 @@ bool VPlanVerifier::verifyEVLRecipe(const VPInstruction &EVL) const {
180180
return VerifyEVLUse(*I, 3);
181181
}
182182
})
183+
.Case<VPWidenIntrinsicRecipe>(
184+
[&](const VPWidenIntrinsicRecipe *I) {
185+
return VerifyEVLUse(*I, I->getNumOperands() - 1);
186+
})
183187
.Default([&](const VPUser *U) {
184188
errs() << "EVL has unexpected user\n";
185189
return false;

0 commit comments

Comments
 (0)