The entry to the plan is guaranteed to be a VPBasicBlock. Make sure this
is the case by adjusting the type.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Looks good to me, with minor nits.
Worth explaining that Entry is the preheader of the vector loop.
llvm/unittests/Transforms/Vectorize/VPDomTreeTest.cpp | ||
---|---|---|
40 | nit: better placed in order, before VPBB1? | |
41 | ? | |
113 | nit: better place VPBB0 in order, before R1BB1? | |
114 | nit: better place right after creating R1? | |
llvm/unittests/Transforms/Vectorize/VPlanTest.cpp | ||
441 | ditto |
Comment Actions
Rebase so this can be applied on current main and addressed the comments, thanks! I updated the comment for VPlan::Entry and plan to land this shortly.
nit: better placed in order, before VPBB1?