[VPlan] Remove redundant setting of parent in createLoopRegion (NFC). The regions parents will be set when the parents are set after creating the parent region.
diff --git a/llvm/lib/Transforms/Vectorize/VPlanConstruction.cpp b/llvm/lib/Transforms/Vectorize/VPlanConstruction.cpp index b187fae..f24d422 100644 --- a/llvm/lib/Transforms/Vectorize/VPlanConstruction.cpp +++ b/llvm/lib/Transforms/Vectorize/VPlanConstruction.cpp
@@ -430,7 +430,6 @@ auto *R = Plan.createVPRegionBlock(HeaderVPB, LatchVPBB, "", false /*isReplicator*/); - R->setParent(HeaderVPB->getParent()); // All VPBB's reachable shallowly from HeaderVPB belong to top level loop, // because VPlan is expected to end at top level latch disconnected above. for (VPBlockBase *VPBB : vp_depth_first_shallow(HeaderVPB))