aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/Sparc
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-06-18 08:19:08 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-06-18 08:19:08 +0000
commit4f217fdd10df91b8beefb1c86591597b43b769f6 (patch)
tree8085411305966839c3d6a09a4c19b489f46d4f6a /lib/Target/Sparc
parentfbaae01269b580ca12d7b5ae131986dd001041fe (diff)
Mess around with allocation order. In particular, I think we ought to be
using the local & in regs first because they are not clobbered by calls. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14228 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc')
-rw-r--r--lib/Target/Sparc/SparcRegisterInfo.td6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/Sparc/SparcRegisterInfo.td b/lib/Target/Sparc/SparcRegisterInfo.td
index ca0bcdc171..d8d130ccf5 100644
--- a/lib/Target/Sparc/SparcRegisterInfo.td
+++ b/lib/Target/Sparc/SparcRegisterInfo.td
@@ -69,10 +69,10 @@ let Namespace = "V8" in {
// FIXME: the register order should be defined in terms of the preferred
// allocation order...
//
-def IntRegs : RegisterClass<i32, 8, [G1, G2, G3, G4, G5, G6, G7,
- O0, O1, O2, O3, O4, O5, O7,
- L0, L1, L2, L3, L4, L5, L6, L7,
+def IntRegs : RegisterClass<i32, 8, [L0, L1, L2, L3, L4, L5, L6, L7,
I0, I1, I2, I3, I4, I5,
+ G1, G2, G3, G4, G5, G6, G7,
+ O0, O1, O2, O3, O4, O5, O7,
// Non-allocatable regs
O6, I6, I7, G0]> {
let Methods = [{