aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/Alpha/AlphaTargetMachine.cpp
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2006-01-23 21:56:07 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2006-01-23 21:56:07 +0000
commitfabd5ba250006e328d9d62962e5f9094ec4306c1 (patch)
tree69362e5ca0eab2861f809e9aba4756435bab417b /lib/Target/Alpha/AlphaTargetMachine.cpp
parent66e495820a9d992b26f60d1e118521efd7d9c922 (diff)
bye bye Pattern ISEL
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25553 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha/AlphaTargetMachine.cpp')
-rw-r--r--lib/Target/Alpha/AlphaTargetMachine.cpp13
1 files changed, 2 insertions, 11 deletions
diff --git a/lib/Target/Alpha/AlphaTargetMachine.cpp b/lib/Target/Alpha/AlphaTargetMachine.cpp
index ea2348080c..dd593d1c0b 100644
--- a/lib/Target/Alpha/AlphaTargetMachine.cpp
+++ b/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));