]> granicus.if.org Git - clang/commit
IRgen: Wrap atomic intrinsics with memory barriers, to ensure we honor the semantics.
authorDaniel Dunbar <daniel@zuster.org>
Sat, 20 Mar 2010 07:04:11 +0000 (07:04 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Sat, 20 Mar 2010 07:04:11 +0000 (07:04 +0000)
commitcb61a7bbe635cfa941b1aeaaa1fbda1bf900ee51
tree3dd225f403f3968cddd92b3f9d2a18361f8b36db
parente0cdb4edd8f265d0fd22d178d03c597dd201cda2
IRgen: Wrap atomic intrinsics with memory barriers, to ensure we honor the semantics.
 - This should be conservatively correct, we eventually should have target hooks for platforms that are less strict.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99050 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGBuiltin.cpp
test/CodeGen/atomic.c