[PATCH] [ARM] Produce an error message if -arm-no-strict-align is specified with the v6M arch.

Charlie Turner charlie.turner at arm.com
Thu Oct 23 03:04:20 PDT 2014


Hi,

 

The command,

 

llc empty.ll -mtriple=thumb-none-linux-gnueabi -arm-no-strict-align
-mcpu=cortex-m0

 

should produce an error message explaining that the cortex-m0 (a v6M CPU)
does not support unaligned data accesses. The attached patch implements this
behavior.

 

Please find the patch attached.

 

Kind regards,

Charlie.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141023/99cd00ae/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Emit-error-for-arm-no-strict-align-with-v6M.patch
Type: application/octet-stream
Size: 3024 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141023/99cd00ae/attachment.obj>


More information about the llvm-commits mailing list