[PATCH] Make v7(e)m default to thumb

Renato Golin 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
> other
> 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.
>

Hi Bernie,

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.

cheers,
--renato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131015/eeda5aaf/attachment.html>


More information about the llvm-commits mailing list