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

Bernie Ogden bogden at arm.com
Tue Oct 15 07:53:26 PDT 2013


Attached simple patch makes thumb the default for armv7m and armv7em. Given
that these targets don't support arm, this has to be a Good Thing.

Fixes http://llvm.org/bugs/show_bug.cgi?id=17559.

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.

Please review.

Regards,

Bernie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: thumbform.patch
Type: application/octet-stream
Size: 1632 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131015/35621c7e/attachment.obj>


More information about the llvm-commits mailing list