[LLVMdev] how to configure llc to generate code for different architecture
Samuel Crow
samuraileumas at yahoo.com
Tue Mar 16 13:32:11 PDT 2010
Reply inlined.
----- Original Message ----
> From: Sergey Yakoushkin <sergey.yakoushkin at gmail.com>
> To: llvmdev at cs.uiuc.edu; Gang-Ryung Uh <guh at boisestate.edu>
> Sent: Tue, March 16, 2010 2:43:08 PM
> Subject: Re: [LLVMdev] how to configure llc to generate code for different architecture
>
> Hi,
Hello,
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?
No. You have to either use Clang or recompile an llvm-gcc cross-compiler for the architecture you want.
Regards,
--Sam
More information about the llvm-dev
mailing list