aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2003-10-20 20:44:03 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2003-10-20 20:44:03 +0000
commit5c288becabdc1b6b7d647c77c77311ad47aeda94 (patch)
tree9fadc549229eb52bfbd02b82af254dc7a3d6125d
parent1ee1e64293dc1727c0119530ae4bc72006879954 (diff)
Goodbye, AddRegNumToValues
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9309 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/SparcV9/SparcV9Internals.h6
-rw-r--r--lib/Target/SparcV9/SparcV9TargetMachine.cpp4
2 files changed, 0 insertions, 10 deletions
diff --git a/lib/Target/SparcV9/SparcV9Internals.h b/lib/Target/SparcV9/SparcV9Internals.h
index 41a7547408..29ab1f3b72 100644
--- a/lib/Target/SparcV9/SparcV9Internals.h
+++ b/lib/Target/SparcV9/SparcV9Internals.h
@@ -630,12 +630,6 @@ struct UltraSparcCacheInfo: public TargetCacheInfo {
};
-/// createAddRegNumToValuesPass - this pass adds unsigned register numbers to
-/// instructions, since that's not done by the Sparc InstSelector, but that's
-/// how the target-independent register allocator in the JIT likes to see
-/// instructions. This pass enables the usage of the JIT register allocator(s).
-Pass *createAddRegNumToValuesPass();
-
/// createStackSlotsPass - External interface to stack-slots pass that enters 2
/// empty slots at the top of each function stack
Pass *createStackSlotsPass(const TargetMachine &TM);
diff --git a/lib/Target/SparcV9/SparcV9TargetMachine.cpp b/lib/Target/SparcV9/SparcV9TargetMachine.cpp
index f1742ec007..738413fc59 100644
--- a/lib/Target/SparcV9/SparcV9TargetMachine.cpp
+++ b/lib/Target/SparcV9/SparcV9TargetMachine.cpp
@@ -254,10 +254,6 @@ bool UltraSparc::addPassesToJITCompile(FunctionPassManager &PM) {
PM.add(createInstructionSelectionPass(*this));
- // new pass: convert Value* in MachineOperand to an unsigned register
- // this brings it in line with what the X86 JIT's RegisterAllocator expects
- //PM.add(createAddRegNumToValuesPass());
-
PM.add(getRegisterAllocator(*this));
PM.add(getPrologEpilogInsertionPass());