diff options
| author | Tim Northover <tnorthover@apple.com> | 2014-06-13 17:29:39 +0000 |
|---|---|---|
| committer | Tim Northover <tnorthover@apple.com> | 2014-06-13 17:29:39 +0000 |
| commit | eee7a7a8362afddab3fd9bf10b7023da7e7c42e5 (patch) | |
| tree | 16aab5a93b11f7b57f646d7246bf04e5966c3041 /lib/Bitcode/Writer/ValueEnumerator.cpp | |
| parent | f317d86f8f754e414c1ca52bb3fdc346f990c6cc (diff) | |
| download | llvm-eee7a7a8362afddab3fd9bf10b7023da7e7c42e5.tar.gz llvm-eee7a7a8362afddab3fd9bf10b7023da7e7c42e5.tar.bz2 llvm-eee7a7a8362afddab3fd9bf10b7023da7e7c42e5.tar.xz | |
X86: lower ATOMIC_CMP_SWAP_WITH_SUCCESS directly
Lowering this new node allows us to fold the almost universal
comparison for success before it's even formed. Instead we can create
a copy from EFLAGS and an X86ISD::SETCC operation since all "cmpxchg"
instructions set the zero-flag to the correct value.
rdar://problem/13201607
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210923 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Writer/ValueEnumerator.cpp')
0 files changed, 0 insertions, 0 deletions
