File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
llvm/lib/Transforms/Vectorize Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -400,8 +400,8 @@ void VPTransformState::packScalarIntoVectorValue(VPValue *Def,
400
400
set (Def, VectorValue, Instance.Part );
401
401
}
402
402
403
- BasicBlock *VPBasicBlock::createEmptyBasicBlock (VPTransformState::CFGState &CFG,
404
- DomTreeUpdater &DTU ) {
403
+ BasicBlock *
404
+ VPBasicBlock::createEmptyBasicBlock (VPTransformState::CFGState &CFG ) {
405
405
// BB stands for IR BasicBlocks. VPBB stands for VPlan VPBasicBlocks.
406
406
// Pred stands for Predessor. Prev stands for Previous - last visited/created.
407
407
BasicBlock *PrevBB = CFG.PrevBB ;
@@ -516,7 +516,7 @@ void VPBasicBlock::execute(VPTransformState *State) {
516
516
// is the exiting VPBB of this region from a previous instance, or the
517
517
// predecessor of this region.
518
518
519
- NewBB = createEmptyBasicBlock (State->CFG , State-> DTU );
519
+ NewBB = createEmptyBasicBlock (State->CFG );
520
520
State->Builder .SetInsertPoint (NewBB);
521
521
// Temporarily terminate with unreachable until CFG is rewired.
522
522
UnreachableInst *Terminator = State->Builder .CreateUnreachable ();
Original file line number Diff line number Diff line change @@ -412,9 +412,6 @@ struct VPTransformState {
412
412
413
413
// / VPlan-based type analysis.
414
414
VPTypeAnalysis TypeAnalysis;
415
-
416
- // / Updater for the DominatorTree.
417
- DomTreeUpdater DTU;
418
415
};
419
416
420
417
// / VPBlockBase is the building block of the Hierarchical Control-Flow Graph.
@@ -2999,8 +2996,7 @@ class VPBasicBlock : public VPBlockBase {
2999
2996
private:
3000
2997
// / Create an IR BasicBlock to hold the output instructions generated by this
3001
2998
// / VPBasicBlock, and return it. Update the CFGState accordingly.
3002
- BasicBlock *createEmptyBasicBlock (VPTransformState::CFGState &CFG,
3003
- DomTreeUpdater &DTU);
2999
+ BasicBlock *createEmptyBasicBlock (VPTransformState::CFGState &CFG);
3004
3000
};
3005
3001
3006
3002
// / VPRegionBlock represents a collection of VPBasicBlocks and VPRegionBlocks
You can’t perform that action at this time.
0 commit comments