mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-23 17:24:48 +00:00
Remove the experimental (and unused) pre-ra splitting pass. Greedy regalloc can split live ranges.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133962 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -57,11 +57,6 @@ NewHeuristic("new-spilling-heuristic",
|
||||
cl::desc("Use new spilling heuristic"),
|
||||
cl::init(false), cl::Hidden);
|
||||
|
||||
static cl::opt<bool>
|
||||
PreSplitIntervals("pre-alloc-split",
|
||||
cl::desc("Pre-register allocation live interval splitting"),
|
||||
cl::init(false), cl::Hidden);
|
||||
|
||||
static cl::opt<bool>
|
||||
TrivCoalesceEnds("trivial-coalesce-ends",
|
||||
cl::desc("Attempt trivial coalescing of interval ends"),
|
||||
@ -104,7 +99,6 @@ namespace {
|
||||
initializeRegisterCoalescerPass(
|
||||
*PassRegistry::getPassRegistry());
|
||||
initializeCalculateSpillWeightsPass(*PassRegistry::getPassRegistry());
|
||||
initializePreAllocSplittingPass(*PassRegistry::getPassRegistry());
|
||||
initializeLiveStacksPass(*PassRegistry::getPassRegistry());
|
||||
initializeMachineDominatorTreePass(*PassRegistry::getPassRegistry());
|
||||
initializeMachineLoopInfoPass(*PassRegistry::getPassRegistry());
|
||||
@ -217,8 +211,6 @@ namespace {
|
||||
// to coalescing and which analyses coalescing invalidates.
|
||||
AU.addRequiredTransitive<RegisterCoalescer>();
|
||||
AU.addRequired<CalculateSpillWeights>();
|
||||
if (PreSplitIntervals)
|
||||
AU.addRequiredID(PreAllocSplittingID);
|
||||
AU.addRequiredID(LiveStacksID);
|
||||
AU.addPreservedID(LiveStacksID);
|
||||
AU.addRequired<MachineLoopInfo>();
|
||||
@ -401,7 +393,6 @@ INITIALIZE_PASS_BEGIN(RALinScan, "linearscan-regalloc",
|
||||
INITIALIZE_PASS_DEPENDENCY(LiveIntervals)
|
||||
INITIALIZE_PASS_DEPENDENCY(StrongPHIElimination)
|
||||
INITIALIZE_PASS_DEPENDENCY(CalculateSpillWeights)
|
||||
INITIALIZE_PASS_DEPENDENCY(PreAllocSplitting)
|
||||
INITIALIZE_PASS_DEPENDENCY(LiveStacks)
|
||||
INITIALIZE_PASS_DEPENDENCY(MachineLoopInfo)
|
||||
INITIALIZE_PASS_DEPENDENCY(VirtRegMap)
|
||||
|
Reference in New Issue
Block a user