aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86TargetMachine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/X86/X86TargetMachine.cpp')
-rw-r--r--lib/Target/X86/X86TargetMachine.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/Target/X86/X86TargetMachine.cpp b/lib/Target/X86/X86TargetMachine.cpp
index 1d87152d10..7520b2e4e6 100644
--- a/lib/Target/X86/X86TargetMachine.cpp
+++ b/lib/Target/X86/X86TargetMachine.cpp
@@ -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...