Goodbye, AddRegNumToValues
authorBrian Gaeke <gaeke@uiuc.edu>
Mon, 20 Oct 2003 20:44:03 +0000 (20:44 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Mon, 20 Oct 2003 20:44:03 +0000 (20:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9309 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/SparcV9/SparcV9Internals.h
lib/Target/SparcV9/SparcV9TargetMachine.cpp

index 41a75474087567d493870c859661eb82debe5948..29ab1f3b72cb2c00b2f46dd38a295bd7f0c5056c 100644 (file)
@@ -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);
index f1742ec007167a1b91c0b7d27162ab16564dc760..738413fc599502fed7f0b57c21e8921fb4721d86 100644 (file)
@@ -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());