From c21a2dc8dfc7edd7722a09b61a0afdd3eaaa8637 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 14 Apr 2010 17:22:02 +0000 Subject: [PATCH] Delete an unused function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101263 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/SelectionDAGISel.h | 2 -- lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 4 ---- 2 files changed, 6 deletions(-) diff --git a/include/llvm/CodeGen/SelectionDAGISel.h b/include/llvm/CodeGen/SelectionDAGISel.h index 4dbad89d5fc..f1c2ce6e5a5 100644 --- a/include/llvm/CodeGen/SelectionDAGISel.h +++ b/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/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 4682c294b98..5dd216bfaa8 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/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(); AU.addPreserved(); -- 2.34.1