]> granicus.if.org Git - clang/commit
Use atomic instructions on ARM linux.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 13 May 2013 20:09:47 +0000 (20:09 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 13 May 2013 20:09:47 +0000 (20:09 +0000)
commit620c0afe5ea7185688d066de9e3b3680067934d3
treeafcf9a44d3b64b5c6c21023ac801f449419357e1
parentfbff0c4510c7f0e0f30a005960e434b973f5bd21
Use atomic instructions on ARM linux.

This is safe given how the pre-v6 atomic ops funcions in libgcc are
implemented.

This fixes pr15429.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181728 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/Targets.cpp
test/CodeGen/linux-arm-atomic.c [new file with mode: 0644]