mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-04 06:26:28 +00:00
remove some never-completed and now-obsolete code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24671 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -36,9 +36,6 @@ extern "C" int X86TargetMachineModule;
|
||||
int X86TargetMachineModule = 0;
|
||||
|
||||
namespace {
|
||||
cl::opt<bool> NoSSAPeephole("disable-ssa-peephole", cl::init(true),
|
||||
cl::desc("Disable the ssa-based peephole optimizer "
|
||||
"(defaults to disabled)"));
|
||||
cl::opt<bool> DisableOutput("disable-x86-llc-output", cl::Hidden,
|
||||
cl::desc("Disable the X86 asm printer, for use "
|
||||
"when profiling the code generator."));
|
||||
@@ -132,10 +129,6 @@ bool X86TargetMachine::addPassesToEmitFile(PassManager &PM, std::ostream &Out,
|
||||
else
|
||||
PM.add(createX86ISelPattern(*this));
|
||||
|
||||
// Run optional SSA-based machine code optimizations next...
|
||||
if (!NoSSAPeephole)
|
||||
PM.add(createX86SSAPeepholeOptimizerPass());
|
||||
|
||||
// Print the instruction selected machine code...
|
||||
if (PrintMachineCode)
|
||||
PM.add(createMachineFunctionPrinterPass(&std::cerr));
|
||||
@@ -203,10 +196,6 @@ void X86JITInfo::addPassesToJITCompile(FunctionPassManager &PM) {
|
||||
else
|
||||
PM.add(createX86ISelPattern(TM));
|
||||
|
||||
// Run optional SSA-based machine code optimizations next...
|
||||
if (!NoSSAPeephole)
|
||||
PM.add(createX86SSAPeepholeOptimizerPass());
|
||||
|
||||
// FIXME: Add SSA based peephole optimizer here.
|
||||
|
||||
// Print the instruction selected machine code...
|
||||
|
Reference in New Issue
Block a user