Fix incorrect atomics codegen introduced in r154705, and extend test to catch it.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 16 Apr 2012 18:43:53 +0000 (18:43 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 16 Apr 2012 18:43:53 +0000 (18:43 +0000)
commit2c651fe6f445724627dcc48064797dca2aa4aedc
tree514abd014bad9b9592d08dbef18b782f651d2dba
parent1fbfea7b06928efe822b12a1d1d0af01fe2f50d1
Fix incorrect atomics codegen introduced in r154705, and extend test to catch it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154845 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/atomic_op.ll