[VPlan] Print successors of VPRegionBlocks.
authorFlorian Hahn <flo@fhahn.com>
Mon, 7 Jun 2021 16:45:19 +0000 (17:45 +0100)
committerFlorian Hahn <flo@fhahn.com>
Mon, 7 Jun 2021 16:57:21 +0000 (17:57 +0100)
commit1465e7770bcacfb67ca4edc3714cf3a7e8a2a110
tree64504255e5a4f1354fea974c84565ce58e91f7d1
parenta82747fafe215862c24e690c1c7b384f4c27ad20
[VPlan] Print successors of VPRegionBlocks.

The non-DOT printing does not include the successors of VPregionBlocks.
This patch use the same style for printing successors as for
VPBasicBlock.

I think the printing of successors could be a bit improved further, as
at the moment it is hard to ensure a check line matches all successors.
But that can be done as follow-up.

Reviewed By: a.elovikov

Differential Revision: https://reviews.llvm.org/D103515
llvm/lib/Transforms/Vectorize/VPlan.cpp
llvm/lib/Transforms/Vectorize/VPlan.h
llvm/test/Transforms/LoopVectorize/first-order-recurrence-sink-replicate-region.ll
llvm/test/Transforms/LoopVectorize/vplan-printing.ll