Add Expand-to-libcall support for additional atomics. This covers the usual
authorJim Grosbach <grosbach@apple.com>
Fri, 18 Jun 2010 21:43:38 +0000 (21:43 +0000)
committerJim Grosbach <grosbach@apple.com>
Fri, 18 Jun 2010 21:43:38 +0000 (21:43 +0000)
commite03262fcfc09356a0e3ec589041bc2e0248944e9
tree5d668b56f369e3f9e827363727774a10cf05790e
parentebe99b2c198ec08c5e4a032ec0afb0345c747706
Add Expand-to-libcall support for additional atomics. This covers the usual
entries used by llvm-gcc. *_[U]MIN and such can be added later if needed.

This enables the front ends to simplify handling of the atomic intrinsics by
removing the target-specific decision about which targets can handle the
intrinsics.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106321 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/RuntimeLibcalls.h
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
lib/CodeGen/SelectionDAG/TargetLowering.cpp