[LLVMdev] ARM assembly

Amir Yazdanbakhsh amir.yazdanbakhsh at gmail.com
Sun Dec 9 00:49:49 PST 2012


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


<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121209/b0e48a28/attachment.html>


More information about the llvm-dev mailing list