[llvm-commits] CVS: llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp
Brian Gaeke
gaeke at cs.uiuc.edu
Wed Aug 4 00:30:15 PDT 2004
Changes in directory llvm/lib/Target/SparcV9:
SparcV9TargetMachine.cpp updated: 1.118 -> 1.119
---
Log message:
Include SparcV9BurgISel.h, to pick up the definition of
createSparcV9BurgInstSelector().
---
Diffs of the changes: (+3 -3)
Index: llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp:1.118 llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp:1.119
--- llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp:1.118 Sat Jul 10 23:16:54 2004
+++ llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp Wed Aug 4 02:30:04 2004
@@ -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 @@
// 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 @@
// 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"));
More information about the llvm-commits
mailing list