[llvm-commits] CVS: llvm/lib/Target/Sparc/Sparc.cpp SparcInternals.h
Brian Gaeke
gaeke at cs.uiuc.edu
Mon Oct 20 15:45:01 PDT 2003
Changes in directory llvm/lib/Target/Sparc:
Sparc.cpp updated: 1.86 -> 1.87
SparcInternals.h updated: 1.103 -> 1.104
---
Log message:
Goodbye, AddRegNumToValues
---
Diffs of the changes: (+0 -10)
Index: llvm/lib/Target/Sparc/Sparc.cpp
diff -u llvm/lib/Target/Sparc/Sparc.cpp:1.86 llvm/lib/Target/Sparc/Sparc.cpp:1.87
--- llvm/lib/Target/Sparc/Sparc.cpp:1.86 Mon Oct 20 14:43:17 2003
+++ llvm/lib/Target/Sparc/Sparc.cpp Mon Oct 20 15:44:03 2003
@@ -254,10 +254,6 @@
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());
Index: llvm/lib/Target/Sparc/SparcInternals.h
diff -u llvm/lib/Target/Sparc/SparcInternals.h:1.103 llvm/lib/Target/Sparc/SparcInternals.h:1.104
--- llvm/lib/Target/Sparc/SparcInternals.h:1.103 Mon Oct 20 10:17:12 2003
+++ llvm/lib/Target/Sparc/SparcInternals.h Mon Oct 20 15:44:03 2003
@@ -630,12 +630,6 @@
};
-/// 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);
More information about the llvm-commits
mailing list