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