]> granicus.if.org Git - clang/commit
Emit native implementations of atomic operations on FreeBSD/armv6.
authorEd Schouten <ed@80386.nl>
Sat, 15 Jun 2013 09:40:14 +0000 (09:40 +0000)
committerEd Schouten <ed@80386.nl>
Sat, 15 Jun 2013 09:40:14 +0000 (09:40 +0000)
commit04491635b1b497c08f6b04afbf83887718a6d667
tree2e8a76d7161fc67cf104195b0558afc6d2aabaa2
parentd6b698739ab157348acafcec5b06a05d3d35377d
Emit native implementations of atomic operations on FreeBSD/armv6.

Just like on Linux, FreeBSD/armv6 assumes the system supports
ldrex/strex unconditionally. It is also used by the kernel. We can
therefore enable support for it, like we do on Linux.

While there, change one of the unit tests to explicitly test against
armv5 instead of armv7, as it actually tests whether libcalls are
emitted.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184040 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/Targets.cpp
test/CodeGen/c11atomics.c
test/CodeGen/linux-arm-atomic.c