[PATCH] [ARM] Adding missing Tag_DIV_use test for the Cortex-M7

Charlie Turner charlie.turner at arm.com
Fri Jan 16 09:47:32 PST 2015


The v7-M cores have SDIV and UDIV required in Thumb mode.

The correct value for Tag_DIV_use is therefore 0 for these cores (i.e.,
don't emit it)

 

I missed the Cortex-M7 CPU in a previous patch which attempted to implement
full coverage of the existing CPUs / architecture tested in
tests/CodeGen/ARM/build-attributes.ll

 

Please find patch attached.

 

Kind regards,

Charlie.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150116/ee03eb63/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-a-missing-Tag_DIV_use-test-for-Cortex-M7.patch
Type: application/octet-stream
Size: 786 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150116/ee03eb63/attachment.obj>


More information about the llvm-commits mailing list