aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2009-08-12 15:21:13 +0000
committerJim Grosbach <grosbach@apple.com>2009-08-12 15:21:13 +0000
commit378756c0f2d0d5393356ca3711530beceb201e05 (patch)
tree2ec51fa5481eebdce4afc6c1ce691e1e269f024d
parent5232f418c625b6f0e1ccc5d6221a0b8a21f62769 (diff)
register naming cleanup (s/ip/r12/)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78806 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/ARM/ARMInstrInfo.td4
-rw-r--r--lib/Target/ARM/ARMInstrThumb2.td6
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.td b/lib/Target/ARM/ARMInstrInfo.td
index b197082b6b..0985265e19 100644
--- a/lib/Target/ARM/ARMInstrInfo.td
+++ b/lib/Target/ARM/ARMInstrInfo.td
@@ -1428,8 +1428,8 @@ let Defs =
AddrModeNone, SizeSpecial, IndexModeNone,
Pseudo, NoItinerary,
"str sp, [$src, #+8] @ eh_setjmp begin\n\t"
- "add ip, pc, #8\n\t"
- "str ip, [$src, #+4]\n\t"
+ "add r12, pc, #8\n\t"
+ "str r12, [$src, #+4]\n\t"
"mov r0, #0\n\t"
"add pc, pc, #0\n\t"
"mov r0, #1 @ eh_setjmp end\n\t", "",
diff --git a/lib/Target/ARM/ARMInstrThumb2.td b/lib/Target/ARM/ARMInstrThumb2.td
index 49875cb98f..0ef9cc03e0 100644
--- a/lib/Target/ARM/ARMInstrThumb2.td
+++ b/lib/Target/ARM/ARMInstrThumb2.td
@@ -1069,9 +1069,9 @@ let Defs =
def t2Int_eh_sjlj_setjmp : Thumb2XI<(outs), (ins GPR:$src),
AddrModeNone, SizeSpecial, NoItinerary,
"str.w sp, [$src, #+8] @ eh_setjmp begin\n"
- "\tadr ip, 0f\n"
- "\torr ip, #1\n"
- "\tstr.w ip, [$src, #+4]\n"
+ "\tadr r12, 0f\n"
+ "\torr r12, #1\n"
+ "\tstr.w r12, [$src, #+4]\n"
"\tmovs r0, #0\n"
"\tb 1f\n"
"0:\tmovs r0, #1 @ eh_setjmp end\n"