[llvm-commits] [llvm] r78701 - in /llvm/trunk/lib/Target/ARM: ARMBaseInstrInfo.cpp ARMInstrThumb2.td

Evan Cheng evan.cheng at apple.com
Tue Aug 11 22:20:12 PDT 2009


Hi Jim,

Can you use r12 instead of ip? llvm arm target uses r12 throughout.  
I'd prefer to be more consisten.

Evan

>
> +  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"
> +                               "\tmovs r0, #0\n"
> +                               "\tb 1f\n"
> +                               "0:\tmovs r0, #1 @ eh_setjmp end\n"
> +                               "1:\n", "",
> +                               [(set R0, (ARMeh_sjlj_setjmp GPR: 
> $src))]>;
> +}
> +
> +
> +
> +// 
> = 
> = 
> = 
> ----------------------------------------------------------------------= 
> ==//
> // Control-Flow Instructions
> //
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list