summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-08-04 07:30:04 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-08-04 07:30:04 +0000
commitdef3b458b0adf1f6625f2cccdde10192357f4856 (patch)
tree1b6ce3da7c8fe3d977f77c4d17e47a637d6ebaf9 /llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp
parent813d9f5023989db6415f8a0e927ceef312ef9fce (diff)
downloadbcm5719-llvm-def3b458b0adf1f6625f2cccdde10192357f4856.tar.gz
bcm5719-llvm-def3b458b0adf1f6625f2cccdde10192357f4856.zip
Include SparcV9BurgISel.h, to pick up the definition of
createSparcV9BurgInstSelector(). llvm-svn: 15474
Diffstat (limited to 'llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp')
-rw-r--r--llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp b/llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp
index 9979bed28c9..bf4188f4b2a 100644
--- a/llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp
+++ b/llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp
@@ -16,7 +16,6 @@
#include "llvm/Function.h"
#include "llvm/PassManager.h"
#include "llvm/Assembly/PrintModulePass.h"
-#include "llvm/CodeGen/InstrSelection.h"
#include "llvm/CodeGen/InstrScheduling.h"
#include "llvm/CodeGen/IntrinsicLowering.h"
#include "llvm/CodeGen/MachineFunction.h"
@@ -29,6 +28,7 @@
#include "MappingInfo.h"
#include "SparcV9Internals.h"
#include "SparcV9TargetMachine.h"
+#include "SparcV9BurgISel.h"
#include "Support/CommandLine.h"
using namespace llvm;
@@ -184,7 +184,7 @@ SparcV9TargetMachine::addPassesToEmitAssembly(PassManager &PM, std::ostream &Out
// so %fp+offset-8 and %fp+offset-16 are empty slots now!
PM.add(createStackSlotsPass(*this));
- PM.add(createInstructionSelectionPass(*this));
+ PM.add(createSparcV9BurgInstSelector(*this));
if (!DisableSched)
PM.add(createInstructionSchedulingWithSSAPass(*this));
@@ -268,7 +268,7 @@ void SparcV9JITInfo::addPassesToJITCompile(FunctionPassManager &PM) {
// Construct and initialize the MachineFunction object for this fn.
PM.add(createMachineCodeConstructionPass(TM));
- PM.add(createInstructionSelectionPass(TM));
+ PM.add(createSparcV9BurgInstSelector(TM));
if (PrintMachineCode)
PM.add(createMachineFunctionPrinterPass(&std::cerr, "Before reg alloc:\n"));
OpenPOWER on IntegriCloud