diff options
author | Nate Begeman <natebegeman@mac.com> | 2006-02-17 00:03:04 +0000 |
---|---|---|
committer | Nate Begeman <natebegeman@mac.com> | 2006-02-17 00:03:04 +0000 |
commit | 7e5496d5fe7f109fa7034f3bb3faf27f44cb0fc4 (patch) | |
tree | 70bc75de2da36817728bb09e1c23f1a0f493569a /llvm/lib/Target/X86/X86TargetMachine.cpp | |
parent | db1dbbe8d6cfa04f360088b770583f5a63fe3b80 (diff) | |
download | bcm5719-llvm-7e5496d5fe7f109fa7034f3bb3faf27f44cb0fc4.tar.gz bcm5719-llvm-7e5496d5fe7f109fa7034f3bb3faf27f44cb0fc4.zip |
Kill the x86 pattern isel. boom.
llvm-svn: 26246
Diffstat (limited to 'llvm/lib/Target/X86/X86TargetMachine.cpp')
-rw-r--r-- | llvm/lib/Target/X86/X86TargetMachine.cpp | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/llvm/lib/Target/X86/X86TargetMachine.cpp b/llvm/lib/Target/X86/X86TargetMachine.cpp index b4de8797508..49f18784192 100644 --- a/llvm/lib/Target/X86/X86TargetMachine.cpp +++ b/llvm/lib/Target/X86/X86TargetMachine.cpp @@ -26,8 +26,6 @@ #include <iostream> using namespace llvm; -bool llvm::X86PatIsel = true; - /// X86TargetMachineModule - Note that this is used on hosts that cannot link /// in a library unless there are references into the library. In particular, /// it seems that it is not possible to get things to work on Win32 without @@ -39,11 +37,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, true> EnableX86PatISel("enable-x86-pattern-isel", cl::Hidden, - cl::desc("Enable the pattern based isel for X86"), - cl::location(X86PatIsel), - cl::init(false)); - // Register the target. RegisterTarget<X86TargetMachine> X("x86", " IA-32 (Pentium and above)"); } @@ -107,10 +100,7 @@ bool X86TargetMachine::addPassesToEmitFile(PassManager &PM, std::ostream &Out, PM.add(createUnreachableBlockEliminationPass()); // Install an instruction selector. - if (X86PatIsel) - PM.add(createX86ISelPattern(*this)); - else - PM.add(createX86ISelDag(*this)); + PM.add(createX86ISelDag(*this)); // Print the instruction selected machine code... if (PrintMachineCode) @@ -172,10 +162,7 @@ void X86JITInfo::addPassesToJITCompile(FunctionPassManager &PM) { PM.add(createUnreachableBlockEliminationPass()); // Install an instruction selector. - if (X86PatIsel) - PM.add(createX86ISelPattern(TM)); - else - PM.add(createX86ISelDag(TM)); + PM.add(createX86ISelDag(TM)); // Print the instruction selected machine code... if (PrintMachineCode) |