[LLVMdev] Generate code for ARM Cortex m0, m3, and m4.

Bernard Ogden bogden.dev at gmail.com
Mon Oct 14 09:38:49 PDT 2013


I've got a trivial fix for this problem, and another one which manifests
when thumb is given without an explicit CPU. I'll start pushing it through
our submissions process.

On Saturday, 12 October 2013, Renato Golin wrote:

> On 12 October 2013 23:00, Amara Emerson <amara.emerson at gmail.com<javascript:_e({}, 'cvml', 'amara.emerson at gmail.com');>
> > wrote:
>
>> Hi Jan,
>>
>> For Cortex-M0, you should probably use the armv6m string in the target
>> triple. For M3 and M4 you need to use the thumbv7m arch string, -mthumb
>> won't be necessary.
>>
>
> Yes, but I agree with Jim that a bug must be filled.
>
> Jan, would you mind filling a bug?
>
> http://llvm.org/bugs/enter_bug.cgi?product=clang
>
> cheers,
> --renato
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131014/5f937561/attachment.html>


More information about the llvm-dev mailing list