SelectionDAG: skip barriers for unordered atomic operations
authorTim Northover <tnorthover@apple.com>
Fri, 30 May 2014 14:41:51 +0000 (14:41 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 30 May 2014 14:41:51 +0000 (14:41 +0000)
commit3a45d4c62136a0eb7c433a0e6435e8734aa28333
treebe5c0e759792d6d860e6d76b2721bd47d0d8812b
parent645c5b94e270db6648919efc140152bbac85bcd9
SelectionDAG: skip barriers for unordered atomic operations

Unordered is strictly weaker than monotonic, so if the latter doesn't have any
barriers then the former certainly shouldn't.

rdar://problem/16548260

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209901 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
test/CodeGen/ARM/atomic-load-store.ll