Hack it so we do not try to allocate values to G0.
authorBrian Gaeke <gaeke@uiuc.edu>
Sat, 6 Mar 2004 05:31:32 +0000 (05:31 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Sat, 6 Mar 2004 05:31:32 +0000 (05:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12184 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Sparc/SparcRegisterInfo.td
lib/Target/SparcV8/SparcV8RegisterInfo.td

index 43b50f4b5cd1b79fbc8448ef5b3843df556d5a75..d5167e2aebf2fa2bacc3f9b8757cf513bf3b3f18 100644 (file)
@@ -61,7 +61,7 @@ let Namespace = "V8" in {
 // FIXME: the register order should be defined in terms of the preferred
 // allocation order...
 //
-def IntRegs : RegisterClass<i32, 8, [G0, G1, G2, G3, G4, G5, G6, G7,
+def IntRegs : RegisterClass<i32, 8, [G1, G2, G3, G4, G5, G6, G7, G0,
                                      O0, O1, O2, O3, O4, O5, O6, O7,
                                      L0, L1, L2, L3, L4, L5, L6, L7,
                                      I0, I1, I2, I3, I4, I5, I6, I7]>;
index 43b50f4b5cd1b79fbc8448ef5b3843df556d5a75..d5167e2aebf2fa2bacc3f9b8757cf513bf3b3f18 100644 (file)
@@ -61,7 +61,7 @@ let Namespace = "V8" in {
 // FIXME: the register order should be defined in terms of the preferred
 // allocation order...
 //
-def IntRegs : RegisterClass<i32, 8, [G0, G1, G2, G3, G4, G5, G6, G7,
+def IntRegs : RegisterClass<i32, 8, [G1, G2, G3, G4, G5, G6, G7, G0,
                                      O0, O1, O2, O3, O4, O5, O6, O7,
                                      L0, L1, L2, L3, L4, L5, L6, L7,
                                      I0, I1, I2, I3, I4, I5, I6, I7]>;