Expand PPC64 atomic load and store
authorHal Finkel <hfinkel@anl.gov>
Tue, 25 Dec 2012 17:22:53 +0000 (17:22 +0000)
committerHal Finkel <hfinkel@anl.gov>
Tue, 25 Dec 2012 17:22:53 +0000 (17:22 +0000)
commitcd9ea5198660a80c9c28c6471b0983bb450ca8cb
tree970da7926be09c4e4a81f5ae9b47237cbdfefce6
parent59a65f7b24350cf483d777acfb403e9b8a31a771
Expand PPC64 atomic load and store

Use of store or load with the atomic specifier on 64-bit types would
cause instruction-selection failures. As with the 32-bit case, these
can use the default expansion in terms of cmp-and-swap.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171072 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelLowering.cpp
test/CodeGen/PowerPC/atomic-2.ll