summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-04-14 17:22:02 +0000
committerDan Gohman <gohman@apple.com>2010-04-14 17:22:02 +0000
commit3215eae4a313e64e1ef9102e1f50bea4f6c7839d (patch)
tree06573b331bd01e9cf2a76222714f4df955891be8 /llvm
parent094fc7b09e06fdcf115f4d92cad671ad3eb1c4ea (diff)
downloadbcm5719-llvm-3215eae4a313e64e1ef9102e1f50bea4f6c7839d.tar.gz
bcm5719-llvm-3215eae4a313e64e1ef9102e1f50bea4f6c7839d.zip
Delete an unused function.
llvm-svn: 101263
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/CodeGen/SelectionDAGISel.h2
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp4
2 files changed, 0 insertions, 6 deletions
diff --git a/llvm/include/llvm/CodeGen/SelectionDAGISel.h b/llvm/include/llvm/CodeGen/SelectionDAGISel.h
index 4dbad89d5fc..f1c2ce6e5a5 100644
--- a/llvm/include/llvm/CodeGen/SelectionDAGISel.h
+++ b/llvm/include/llvm/CodeGen/SelectionDAGISel.h
@@ -62,8 +62,6 @@ public:
virtual bool runOnMachineFunction(MachineFunction &MF);
- unsigned MakeReg(EVT VT);
-
virtual void EmitFunctionEntryCode(Function &Fn, MachineFunction &MF) {}
/// PreprocessISelDAG - This hook allows targets to hack on the graph before
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 4682c294b98..5dd216bfaa8 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -180,10 +180,6 @@ SelectionDAGISel::~SelectionDAGISel() {
delete FuncInfo;
}
-unsigned SelectionDAGISel::MakeReg(EVT VT) {
- return RegInfo->createVirtualRegister(TLI.getRegClassFor(VT));
-}
-
void SelectionDAGISel::getAnalysisUsage(AnalysisUsage &AU) const {
AU.addRequired<AliasAnalysis>();
AU.addPreserved<AliasAnalysis>();
OpenPOWER on IntegriCloud