Make it SP, LR, PC for GPR Register Class instead of LR, SP, PC.
authorJohnny Chen <johnny.chen@apple.com>
Mon, 25 Jan 2010 22:54:29 +0000 (22:54 +0000)
committerJohnny Chen <johnny.chen@apple.com>
Mon, 25 Jan 2010 22:54:29 +0000 (22:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94465 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMRegisterInfo.td

index e4b18088ad66a1577d9c4be6562a0255b510ae95..0d4200c63d51e657fae74ab993c6a5fa26dcd3c7 100644 (file)
@@ -124,7 +124,7 @@ def FPSCR : ARMReg<1, "fpscr">;
 //
 def GPR : RegisterClass<"ARM", [i32], 32, [R0, R1, R2, R3, R4, R5, R6,
                                            R7, R8, R9, R10, R11, R12,
-                                           LR, SP, PC]> {
+                                           SP, LR, PC]> {
   let MethodProtos = [{
     iterator allocation_order_begin(const MachineFunction &MF) const;
     iterator allocation_order_end(const MachineFunction &MF) const;