[LLVMdev] how to configure llc to generate code for different architecture
Duncan Sands
baldrick at free.fr
Tue Mar 16 13:25:31 PDT 2010
Hi Sergey,
> 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?
only to the extent it is possible to do so with gcc already. For example,
if gcc is built for x86 you won't be able to squirt out ppc code with it,
but you can target i386, i686, various levels of sse etc.
Ciao,
Duncan.
More information about the llvm-dev
mailing list