Skip to content

Commit ace356b

Browse files
committed
[VPlan] Always verify VPCanonicalIVPHIRecipe placement (NFC).
Loop regions are dissolved since dcef154, remove the check for VerifyLate and corresponding TODO.
1 parent 02161c6 commit ace356b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,8 +429,7 @@ bool VPlanVerifier::verify(const VPlan &Plan) {
429429
return false;
430430
}
431431

432-
// TODO: Remove once loop regions are dissolved before execution.
433-
if (!VerifyLate && !isa<VPCanonicalIVPHIRecipe>(&*Entry->begin())) {
432+
if (!isa<VPCanonicalIVPHIRecipe>(&*Entry->begin())) {
434433
errs() << "VPlan vector loop header does not start with a "
435434
"VPCanonicalIVPHIRecipe\n";
436435
return false;

0 commit comments

Comments
 (0)