mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 08:17:40 +00:00
Remove the now unused strong phi elimination pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192604 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
+3
-14
@@ -58,8 +58,6 @@ OptimizeRegAlloc("optimize-regalloc", cl::Hidden,
|
||||
static cl::opt<cl::boolOrDefault>
|
||||
EnableMachineSched("enable-misched", cl::Hidden,
|
||||
cl::desc("Enable the machine instruction scheduling pass."));
|
||||
static cl::opt<bool> EnableStrongPHIElim("strong-phi-elim", cl::Hidden,
|
||||
cl::desc("Use strong PHI elimination."));
|
||||
static cl::opt<bool> DisablePostRAMachineLICM("disable-postra-machine-licm",
|
||||
cl::Hidden,
|
||||
cl::desc("Disable Machine LICM"));
|
||||
@@ -675,24 +673,15 @@ void TargetPassConfig::addOptimizedRegAlloc(FunctionPass *RegAllocPass) {
|
||||
// preferably fix the scavenger to not depend on them).
|
||||
addPass(&LiveVariablesID);
|
||||
|
||||
// Add passes that move from transformed SSA into conventional SSA. This is a
|
||||
// "copy coalescing" problem.
|
||||
//
|
||||
if (!EnableStrongPHIElim) {
|
||||
// Edge splitting is smarter with machine loop info.
|
||||
addPass(&MachineLoopInfoID);
|
||||
addPass(&PHIEliminationID);
|
||||
}
|
||||
// Edge splitting is smarter with machine loop info.
|
||||
addPass(&MachineLoopInfoID);
|
||||
addPass(&PHIEliminationID);
|
||||
|
||||
// Eventually, we want to run LiveIntervals before PHI elimination.
|
||||
if (EarlyLiveIntervals)
|
||||
addPass(&LiveIntervalsID);
|
||||
|
||||
addPass(&TwoAddressInstructionPassID);
|
||||
|
||||
if (EnableStrongPHIElim)
|
||||
addPass(&StrongPHIEliminationID);
|
||||
|
||||
addPass(&RegisterCoalescerID);
|
||||
|
||||
// PreRA instruction scheduling.
|
||||
|
||||
Reference in New Issue
Block a user