]> granicus.if.org Git - llvm/commit
Revert r291640 change to fold X86 comparison with atomic_load_add.
authorBob Wilson <bob.wilson@apple.com>
Tue, 17 Jan 2017 19:18:57 +0000 (19:18 +0000)
committerBob Wilson <bob.wilson@apple.com>
Tue, 17 Jan 2017 19:18:57 +0000 (19:18 +0000)
commitaedf6684c84fad7df6150a2dae4c8a41300613c6
tree61fdd726d97970320ee05cef75bdab212d1a4db2
parent1c28b57b8b1d50245e7b0e90b08352e971c41c30
Revert r291640 change to fold X86 comparison with atomic_load_add.

Even with the fix from r291630, this still causes problems. I get
widespread assertion failures in the Swift runtime's WeakRefCount::increment()
function. I sent a reduced testcase in reply to the commit.

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