summaryrefslogtreecommitdiffstats
path: root/llvm/lib
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
commite7621515c04dd56580a08e198fe6359355c41ca7 (patch)
tree18da0f393c16c7b942c1110fa297c66424ad07cf /llvm/lib
parent567fe2f312bd78a3c475a5fb8195b62116d66368 (diff)
downloadbcm5719-llvm-e7621515c04dd56580a08e198fe6359355c41ca7.tar.gz
bcm5719-llvm-e7621515c04dd56580a08e198fe6359355c41ca7.zip
Goodbye, AddRegNumToValues
llvm-svn: 9309
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/Sparc/Sparc.cpp4
-rw-r--r--llvm/lib/Target/Sparc/SparcInternals.h6
2 files changed, 0 insertions, 10 deletions
diff --git a/llvm/lib/Target/Sparc/Sparc.cpp b/llvm/lib/Target/Sparc/Sparc.cpp
index f1742ec0071..738413fc599 100644
--- a/llvm/lib/Target/Sparc/Sparc.cpp
+++ b/llvm/lib/Target/Sparc/Sparc.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());
diff --git a/llvm/lib/Target/Sparc/SparcInternals.h b/llvm/lib/Target/Sparc/SparcInternals.h
index 41a75474087..29ab1f3b72c 100644
--- a/llvm/lib/Target/Sparc/SparcInternals.h
+++ b/llvm/lib/Target/Sparc/SparcInternals.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);
OpenPOWER on IntegriCloud