diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2006-01-23 21:56:07 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2006-01-23 21:56:07 +0000 |
commit | c0bf377f984ceac6aefe0e0f5fcc39b16e930303 (patch) | |
tree | ec7437eda7c38d03df80d495e55bbae98eff52cb /llvm/lib/Target/Alpha/AlphaTargetMachine.cpp | |
parent | fef7dec9cc1fb3ae63b4c759396714fa7ad940f5 (diff) | |
download | bcm5719-llvm-c0bf377f984ceac6aefe0e0f5fcc39b16e930303.tar.gz bcm5719-llvm-c0bf377f984ceac6aefe0e0f5fcc39b16e930303.zip |
bye bye Pattern ISEL
llvm-svn: 25553
Diffstat (limited to 'llvm/lib/Target/Alpha/AlphaTargetMachine.cpp')
-rw-r--r-- | llvm/lib/Target/Alpha/AlphaTargetMachine.cpp | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp b/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp index ea2348080cd..dd593d1c0bc 100644 --- a/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp +++ b/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp @@ -28,12 +28,6 @@ namespace { RegisterTarget<AlphaTargetMachine> X("alpha", " Alpha (incomplete)"); } -namespace llvm { - cl::opt<bool> DisableAlphaDAG("disable-alpha-dag-isel", - cl::desc("Disable DAG ISEL for Alpha"), - cl::Hidden); -} - unsigned AlphaTargetMachine::getModuleMatchQuality(const Module &M) { // We strongly match "alpha*". std::string TT = M.getTargetTriple(); @@ -94,10 +88,7 @@ bool AlphaTargetMachine::addPassesToEmitFile(PassManager &PM, // Make sure that no unreachable blocks are instruction selected. PM.add(createUnreachableBlockEliminationPass()); - if (!DisableAlphaDAG) - PM.add(createAlphaISelDag(*this)); - else - PM.add(createAlphaPatternInstructionSelector(*this)); + PM.add(createAlphaISelDag(*this)); if (PrintMachineCode) PM.add(createMachineFunctionPrinterPass(&std::cerr)); @@ -135,7 +126,7 @@ void AlphaJITInfo::addPassesToJITCompile(FunctionPassManager &PM) { // Make sure that no unreachable blocks are instruction selected. PM.add(createUnreachableBlockEliminationPass()); - PM.add(createAlphaPatternInstructionSelector(TM)); + PM.add(createAlphaISelDag(TM)); if (PrintMachineCode) PM.add(createMachineFunctionPrinterPass(&std::cerr)); |