[LLVMdev] how to configure llc to generate code for different architecture

Alastair Lynn arplynn at gmail.com
Tue Mar 16 13:44:02 PDT 2010


Hi-

-march=sparc

Alastair

On 16 Mar 2010, at 20:11, Gang-Ryung Uh wrote:

> I tried llc with -mcpu=help and it dosn't list Sparc. Thanks.
> 
> --Gang
> 
> On Tue, Mar 16, 2010 at 12:43 PM, Sergey Yakoushkin <sergey.yakoushkin at gmail.com> wrote:
> Hi,
> 
> Target architecture for llc can be specified using -march, -mcpu,
> -mattr options.
> 
> Is it possible to override target CPU attributes when using llvm-gcc compiler?
> 
> Regards,
> Sergey Y.
> 
> 
> 
> 
> _______________________________________________
> 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/20100316/00ab397f/attachment.html>


More information about the llvm-dev mailing list