XLC supports the same atomic functions as GCC, use them.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 2 Nov 2012 20:54:45 +0000 (20:54 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 2 Nov 2012 20:54:45 +0000 (20:54 +0000)
commit2f92f6109880cac2baa2c835376a4cfc1d37099c
treeede6b1e7d546190428540904a580a4d76e0fcee7
parentd37bbc3e0051db10aab98e50da2a64707a612c14
XLC supports the same atomic functions as GCC, use them.
Patch by Kai.

llvm-svn: 167309
llvm/lib/Support/Atomic.cpp