[llvm-commits] CVS: llvm/lib/Target/IA64/IA64RegisterInfo.td
Chris Lattner
lattner at cs.uiuc.edu
Tue Apr 12 08:13:05 PDT 2005
Changes in directory llvm/lib/Target/IA64:
IA64RegisterInfo.td updated: 1.4 -> 1.5
---
Log message:
Put out* into the allocation order, allowing the register allocator to
coallesce moves into outgoing args.
---
Diffs of the changes: (+3 -4)
IA64RegisterInfo.td | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
Index: llvm/lib/Target/IA64/IA64RegisterInfo.td
diff -u llvm/lib/Target/IA64/IA64RegisterInfo.td:1.4 llvm/lib/Target/IA64/IA64RegisterInfo.td:1.5
--- llvm/lib/Target/IA64/IA64RegisterInfo.td:1.4 Tue Apr 12 09:54:44 2005
+++ llvm/lib/Target/IA64/IA64RegisterInfo.td Tue Apr 12 10:12:51 2005
@@ -249,14 +249,13 @@
r104, r105, r106, r107, r108, r109, r110, r111,
r112, r113, r114, r115, r116, r117, r118, r119,
r120, r121, r122, r123, r124, r125, r126, r127,
- r0, r1, r2, r12, r13, r15, r22,
out0, out1, out2, out3,
- out4, out5, out6, out7]> // these last 15 are special (look down)
-
+ out4, out5, out6, out7,
+ r0, r1, r2, r12, r13, r15, r22]> // these last 7 are special (look down)
{
let Methods = [{
iterator allocation_order_end(MachineFunction &MF) const {
- int numReservedRegs=15; // the 15 special registers r0,r1,r2,r12,r13 etc
+ int numReservedRegs=7; // the 15 special registers r0,r1,r2,r12,r13 etc
// we also can't allocate registers for use as locals if they're
// already required as 'out' registers
numReservedRegs+=MF.getInfo<IA64FunctionInfo>()->outRegsUsed;
More information about the llvm-commits
mailing list