Revert r262759 and r262760.
authorQuentin Colombet <qcolombet@apple.com>
Tue, 8 Mar 2016 17:29:11 +0000 (17:29 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Tue, 8 Mar 2016 17:29:11 +0000 (17:29 +0000)
commit4340b555933451eddca067d0f2af5991f8c13ef3
treeb953b9c8d1545fccee34a33f01b49337c92829a1
parente40b9513a97f30fd7ff5eb359a6a1c3d7aea2b1a
Revert r262759 and r262760.
The fix consisting in using the library call for atomic compare and swap when
the instruction is not safe to use may be incorrect. Indeed the library call may
not exist on all platform. In other words, we need a better fix!

llvm-svn: 262943
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/base-pointer-and-cmpxchg.ll [deleted file]