Skip to content

Commit 513f5dd

Browse files
committed
Update VPlanVerify
1 parent 04dd22e commit 513f5dd

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
@@ -176,6 +176,10 @@ bool VPlanVerifier::verifyEVLRecipe(const VPInstruction &EVL) const {
176176
return VerifyEVLUse(*I, 3);
177177
}
178178
})
179+
.Case<VPWidenIntrinsicRecipe>(
180+
[&](const VPWidenIntrinsicRecipe *I) {
181+
return VerifyEVLUse(*I, I->getNumOperands() - 1);
182+
})
179183
.Default([&](const VPUser *U) {
180184
errs() << "EVL has unexpected user\n";
181185
return false;

0 commit comments

Comments
 (0)