File tree Expand file tree Collapse file tree 4 files changed +5
-11
lines changed
unittests/Transforms/Vectorize Expand file tree Collapse file tree 4 files changed +5
-11
lines changed Original file line number Diff line number Diff line change 5858#include " VPRecipeBuilder.h"
5959#include " VPlan.h"
6060#include " VPlanAnalysis.h"
61+ #include " VPlanCFG.h"
6162#include " VPlanHCFGBuilder.h"
6263#include " VPlanHelpers.h"
6364#include " VPlanPatternMatch.h"
Original file line number Diff line number Diff line change @@ -496,9 +496,4 @@ void VPlanHCFGBuilder::buildHierarchicalCFG() {
496496 // Build Top Region enclosing the plain CFG.
497497 buildPlainCFG ();
498498 LLVM_DEBUG (Plan.setName (" HCFGBuilder: Plain CFG\n " ); dbgs () << Plan);
499-
500- // Compute plain CFG dom tree for VPLInfo.
501- VPDomTree.recalculate (Plan);
502- LLVM_DEBUG (dbgs () << " Dominator Tree after building the plain CFG.\n " ;
503- VPDomTree.print (dbgs ()));
504499}
Original file line number Diff line number Diff line change 2424#ifndef LLVM_TRANSFORMS_VECTORIZE_VPLAN_VPLANHCFGBUILDER_H
2525#define LLVM_TRANSFORMS_VECTORIZE_VPLAN_VPLANHCFGBUILDER_H
2626
27- #include " VPlanDominatorTree .h"
27+ #include " llvm/ADT/DenseMap .h"
2828
2929namespace llvm {
3030
@@ -33,6 +33,8 @@ class LoopInfo;
3333class VPRegionBlock ;
3434class VPlan ;
3535class VPlanTestIRBase ;
36+ class VPBlockBase ;
37+ class BasicBlock ;
3638
3739// / Main class to build the VPlan H-CFG for an incoming IR.
3840class VPlanHCFGBuilder {
@@ -48,11 +50,6 @@ class VPlanHCFGBuilder {
4850 // The VPlan that will contain the H-CFG we are building.
4951 VPlan &Plan;
5052
51- // Dominator analysis for VPlan plain CFG to be used in the
52- // construction of the H-CFG. This analysis is no longer valid once regions
53- // are introduced.
54- VPDominatorTree VPDomTree;
55-
5653 // / Map of create VP blocks to their input IR basic blocks, if they have been
5754 // / created for a input IR basic block.
5855 DenseMap<VPBlockBase *, BasicBlock *> VPB2IRBB;
Original file line number Diff line number Diff line change 88
99#include " ../lib/Transforms/Vectorize/VPlanVerifier.h"
1010#include " ../lib/Transforms/Vectorize/VPlan.h"
11+ #include " ../lib/Transforms/Vectorize/VPlanCFG.h"
1112#include " VPlanTestBase.h"
1213#include " llvm/IR/Instruction.h"
1314#include " llvm/IR/Instructions.h"
You can’t perform that action at this time.
0 commit comments