[llvm] [VPlan] Make CanIV part of region. (PR #144803)

via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 10 05:12:53 PDT 2025


================
@@ -451,12 +451,6 @@ bool VPlanVerifier::verify(const VPlan &Plan) {
     return false;
   }
 
-  if (!isa<VPCanonicalIVPHIRecipe>(&*Entry->begin())) {
-    errs() << "VPlan vector loop header does not start with a "
-              "VPCanonicalIVPHIRecipe\n";
----------------
ayalz wrote:

```suggestion
  if (!Plan.getCanonicalIV()) {
    errs() << "VPlan vector loop lacks a canonical IV\n";
```

https://github.com/llvm/llvm-project/pull/144803


More information about the llvm-commits mailing list