]> granicus.if.org Git - clang/commit
[SPARC] Allows inlining of atomics for Sparc32 with appropriate store barrier.
authorChris Dewhurst <chris.dewhurst@lero.ie>
Tue, 28 Jun 2016 12:55:55 +0000 (12:55 +0000)
committerChris Dewhurst <chris.dewhurst@lero.ie>
Tue, 28 Jun 2016 12:55:55 +0000 (12:55 +0000)
commit09e469bb95e43671457af4f55d39e2b409a9c650
tree447f65ae68a867531355e1afd626f15aa6fff04b
parente6404a0de8f82c7e8e9b580a80d4af9cae0ebeee
[SPARC] Allows inlining of atomics for Sparc32 with appropriate store barrier.

The final change is required to extend the back-end's AtomicExpandPass that was implemented for Sparc (64 bit) and later extended for Sparc (32 bit).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@274012 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/Targets.cpp
test/CodeGen/atomics-inlining.c