[LLVMdev] The right option combination to compile into ARM/Thumb2 code.

Karel Gardas karel.gardas at centrum.cz
Sat Sep 3 00:47:31 PDT 2011


Hello,

I'm trying to convince llc to compile into thumb2 ISA on ARMv7. I'm using:

-march=thumb -mattr=v7,thumb2,vfp3

but llc complains about this with:

llc: error: invalid target 'thumb -mattr=v7,thumb2,vfp3'

I'm using LLVM from Aug 29 2011. To me the set of options looks sane so 
I'd like to ask what's wrong with this.

Thanks!
Karel



More information about the llvm-dev mailing list