[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaISelLowering.cpp AlphaTargetMachine.cpp AlphaISelPattern.cpp
Andrew Lenharth
alenhar2 at cs.uiuc.edu
Mon Jan 23 13:56:29 PST 2006
Changes in directory llvm/lib/Target/Alpha:
AlphaISelLowering.cpp updated: 1.27 -> 1.28
AlphaTargetMachine.cpp updated: 1.20 -> 1.21
AlphaISelPattern.cpp (r1.199) removed
---
Log message:
bye bye Pattern ISEL
---
Diffs of the changes: (+5 -14)
AlphaISelLowering.cpp | 6 +++---
AlphaTargetMachine.cpp | 13 ++-----------
2 files changed, 5 insertions(+), 14 deletions(-)
Index: llvm/lib/Target/Alpha/AlphaISelLowering.cpp
diff -u llvm/lib/Target/Alpha/AlphaISelLowering.cpp:1.27 llvm/lib/Target/Alpha/AlphaISelLowering.cpp:1.28
--- llvm/lib/Target/Alpha/AlphaISelLowering.cpp:1.27 Mon Jan 23 15:51:33 2006
+++ llvm/lib/Target/Alpha/AlphaISelLowering.cpp Mon Jan 23 15:56:07 2006
@@ -27,9 +27,9 @@
using namespace llvm;
namespace llvm {
- extern cl::opt<bool> EnableAlphaIDIV;
- extern cl::opt<bool> EnableAlphaCount;
- extern cl::opt<bool> EnableAlphaLSMark;
+ cl::opt<bool> EnableAlphaLSMark("enable-alpha-lsmark",
+ cl::desc("Emit symbols to correlate Mem ops to LLVM Values"),
+ cl::Hidden);
}
/// AddLiveIn - This helper function adds the specified physical register to the
Index: llvm/lib/Target/Alpha/AlphaTargetMachine.cpp
diff -u llvm/lib/Target/Alpha/AlphaTargetMachine.cpp:1.20 llvm/lib/Target/Alpha/AlphaTargetMachine.cpp:1.21
--- llvm/lib/Target/Alpha/AlphaTargetMachine.cpp:1.20 Fri Jan 13 12:49:47 2006
+++ llvm/lib/Target/Alpha/AlphaTargetMachine.cpp Mon Jan 23 15:56:07 2006
@@ -28,12 +28,6 @@
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 @@
// 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 @@
// 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));
More information about the llvm-commits
mailing list