[PATCH] Make v7(e)m default to thumb
renato.golin at linaro.org
Tue Oct 15 09:45:11 PDT 2013
On 15 October 2013 15:53, Bernie Ogden <bogden at arm.com> wrote:
> Note that this only fixes the clang side. M'colleague pointed out that
> LLVM tools (e.g. llc) are broken in this respect. I took a look at what
> would be required to fix this and decided not to go there.
As I said in the bug, you need to be careful with what the default CPU will
end up being because "thumbv7m" is not a recognizable architecture (or
"thumb*" for that matter). Darwin deals with it in a special way, so it
works for Darwin, but for no other ARM target.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-commits