Add verification that VPHeaderPHIRecipes are only in header VPBBs. Also
adds missing checks for VPPointerInductionRecipe to
VPHeaderPHIRecipe::classof.
Split off from D119661.
Paths
| Differential D131989
[VPlan] Verify that header only contains header phi recipes. ClosedPublic Authored by fhahn on Aug 16 2022, 12:54 PM.
Details Summary Add verification that VPHeaderPHIRecipes are only in header VPBBs. Also Split off from D119661.
Diff Detail
Event TimelineComment Actions Thanks for addressing, adding a couple of minor suggestions.
This revision is now accepted and ready to land.Aug 21 2022, 3:10 AM This revision was landed with ongoing or failed builds.Aug 27 2022, 2:06 PM Closed by commit rG7743badafa68: [VPlan] Verify that header only contains header phi recipes. (authored by fhahn). · Explain Why This revision was automatically updated to reflect the committed changes. fhahn added inline comments.
Revision Contents
Diff 456149 llvm/lib/Transforms/Vectorize/VPlan.h
llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp
|
Phi-like recipes are kept in order to facilitate checking intervals (and help avoid such missed-case bugs)?