AArch64: remove barriers from AArch64 atomic operations.
authorTim Northover <Tim.Northover@arm.com>
Mon, 8 Apr 2013 08:40:41 +0000 (08:40 +0000)
committerTim Northover <Tim.Northover@arm.com>
Mon, 8 Apr 2013 08:40:41 +0000 (08:40 +0000)
commit211ffd242df8bacf4cbe034f5ca7545ab75b45df
treef6ebe30b63626353ca1ed55c617a8ace84313d78
parent724a7b145d480018ddae894ffdd848154cd5478f
AArch64: remove barriers from AArch64 atomic operations.

I've managed to convince myself that AArch64's acquire/release
instructions are sufficient to guarantee C++11's required semantics,
even in the sequentially-consistent case.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179005 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
lib/Target/AArch64/AArch64ISelLowering.cpp
lib/Target/AArch64/AArch64InstrInfo.td
test/CodeGen/AArch64/atomic-ops-not-barriers.ll
test/CodeGen/AArch64/atomic-ops.ll