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

Gang-Ryung Uh guh at boisestate.edu
Tue Mar 16 13:11:39 PDT 2010


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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100316/c4b5e4eb/attachment.html>


More information about the llvm-dev mailing list