mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-10 02:36:06 +00:00
Remove unused function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53090 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
98260a474c
commit
38976dc394
@ -762,22 +762,6 @@ void LoopUnswitch::SplitExitEdges(Loop *L,
|
||||
|
||||
}
|
||||
|
||||
/// addBBToDomFrontier - Helper function. Insert DFBB in Basic Block BB's
|
||||
/// dominance frontier using iterator DFI.
|
||||
static void addBBToDomFrontier(DominanceFrontier &DF,
|
||||
DominanceFrontier::iterator &DFI,
|
||||
BasicBlock *BB, BasicBlock *DFBB) {
|
||||
if (DFI != DF.end()) {
|
||||
DF.addToFrontier(DFI, DFBB);
|
||||
return;
|
||||
}
|
||||
|
||||
DominanceFrontier::DomSetType NSet;
|
||||
NSet.insert(DFBB);
|
||||
DF.addBasicBlock(BB, NSet);
|
||||
DFI = DF.find(BB);
|
||||
}
|
||||
|
||||
/// UnswitchNontrivialCondition - We determined that the loop is profitable
|
||||
/// to unswitch when LIC equal Val. Split it into loop versions and test the
|
||||
/// condition outside of either loop. Return the loops created as Out1/Out2.
|
||||
|
Loading…
x
Reference in New Issue
Block a user