New approach to r136737: insert the necessary fences for atomic ops in platform-indep...
authorEli Friedman <eli.friedman@gmail.com>
Wed, 3 Aug 2011 21:06:02 +0000 (21:06 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Wed, 3 Aug 2011 21:06:02 +0000 (21:06 +0000)
commit26689ac37ebec3b358588089415509285e558de9
tree78baa33160fd79d898ce2211f57edab1ed05d16c
parent866ec865424e670918a14df2a695691c3372faf0
New approach to r136737: insert the necessary fences for atomic ops in platform-independent code, since a bunch of platforms (ARM, Mips, PPC, Alpha are the relevant targets here) need to do essentially the same thing.

I think this completes the basic CodeGen for atomicrmw and cmpxchg.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136813 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetLowering.h
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/CodeGen/SelectionDAG/TargetLowering.cpp
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/Alpha/AlphaISelLowering.cpp
lib/Target/Mips/MipsISelLowering.cpp
lib/Target/PowerPC/PPCISelLowering.cpp