aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Sparc/SparcRegisterInfo.td
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-03-06 05:31:32 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-03-06 05:31:32 +0000
commitbda4a3c61aea14228dfab3d9ce956f870188eb8d (patch)
tree6865bdfca982f98283c30461caf6dc52c06d9efc /lib/Target/Sparc/SparcRegisterInfo.td
parentd69b3c58d3e6f2edc52bfe431522cd1db8db4652 (diff)
downloadexternal_llvm-bda4a3c61aea14228dfab3d9ce956f870188eb8d.zip
external_llvm-bda4a3c61aea14228dfab3d9ce956f870188eb8d.tar.gz
external_llvm-bda4a3c61aea14228dfab3d9ce956f870188eb8d.tar.bz2
Hack it so we do not try to allocate values to G0.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12184 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc/SparcRegisterInfo.td')
-rw-r--r--lib/Target/Sparc/SparcRegisterInfo.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Sparc/SparcRegisterInfo.td b/lib/Target/Sparc/SparcRegisterInfo.td
index 43b50f4..d5167e2 100644
--- a/lib/Target/Sparc/SparcRegisterInfo.td
+++ b/lib/Target/Sparc/SparcRegisterInfo.td
@@ -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]>;