register naming cleanup (s/ip/r12/)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78806 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Grosbach 2009-08-12 15:21:13 +00:00
parent 5232f418c6
commit 378756c0f2
2 changed files with 5 additions and 5 deletions

View File

@ -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", "",

View File

@ -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"