aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86TargetMachine.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-07-22 21:30:35 +0000
committerChris Lattner <sabre@nondot.org>2004-07-22 21:30:35 +0000
commitcc46c4fceeef4d5a359a1188b737689a69f5be5f (patch)
treea36818ea86400407f32eb0b93b4e483d4548dc40 /lib/Target/X86/X86TargetMachine.cpp
parent0bafa9818baafc969359a668245cff7d95268931 (diff)
Remove some (LARGE) abandoned code for the release. If this is ever needed
again in the future, it can be resurrected out of CVS git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15112 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86TargetMachine.cpp')
-rw-r--r--lib/Target/X86/X86TargetMachine.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/Target/X86/X86TargetMachine.cpp b/lib/Target/X86/X86TargetMachine.cpp
index dc107385bd..af03315280 100644
--- a/lib/Target/X86/X86TargetMachine.cpp
+++ b/lib/Target/X86/X86TargetMachine.cpp
@@ -34,8 +34,6 @@ namespace {
cl::opt<bool> DisableOutput("disable-x86-llc-output", cl::Hidden,
cl::desc("Disable the X86 asm printer, for use "
"when profiling the code generator."));
- cl::opt<bool> NoSimpleISel("disable-simple-isel", cl::init(true),
- cl::desc("Use the hand coded 'simple' X86 instruction selector"));
// Register the target.
RegisterTarget<X86TargetMachine> X("x86", " IA-32 (Pentium and above)");
@@ -85,10 +83,8 @@ bool X86TargetMachine::addPassesToEmitAssembly(PassManager &PM,
// Make sure that no unreachable blocks are instruction selected.
PM.add(createUnreachableBlockEliminationPass());
- if (NoPatternISel && NoSimpleISel)
+ if (NoPatternISel)
PM.add(createX86SimpleInstructionSelector(*this));
- else if (NoPatternISel)
- PM.add(createX86ReallySimpleInstructionSelector(*this));
else
PM.add(createX86PatternInstructionSelector(*this));