[LLVMdev] ARM assembly
Evan Cheng
evan.cheng at apple.com
Sun Dec 9 11:48:42 PST 2012
Sound like you are not enabling optimization. Try with -O3.
Evan
On Dec 9, 2012, at 12:49 AM, Amir Yazdanbakhsh <amir.yazdanbakhsh at gmail.com> wrote:
> Hi All,
>
> I am working to cross compile (just generate assembly code) a simple C code in ARM. First, I use CLANG to get LLVM bytecode, then I use llc to generate assembly for ARM. The problem is it never uses any other register except r0-r3 and always uses spill code even if other register are available to use. Anyone has any idea?
>
> Thanks
>
> Best Regards,
> A. Yazdanbakhsh
>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>
> PhD. Student
> School of Electrical and Computer Engineering
> University of Wisconsin-Madison
> E-mail: yazdanbakhsh at wisc.edu
>
>
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121209/d5216edb/attachment.html>
More information about the llvm-dev
mailing list