[PATCH] forbid 8-byte atomic on Cortex M

Phoebe Buckheister llvm at quasiparticle.net
Mon Jun 16 10:18:04 PDT 2014


Cortex M profiles don't support atomic operations on double words at
all, but LLVM will happily codegen them anyway. Smaller atomics are
available just fine on M profiles, so just disable atomics on anything
larger than a machine word.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no-ldrex-on-m.patch
Type: text/x-patch
Size: 2806 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140616/4c4d386d/attachment.bin>


More information about the llvm-commits mailing list