commit | 6b3ed2b8214778b8eedae81be5193d1b89c49a66 | [log] [tgz] |
---|---|---|
author | Tim Northover <tnorthover@apple.com> | Fri Jun 13 16:45:36 2014 +0000 |
committer | Tim Northover <tnorthover@apple.com> | Fri Jun 13 16:45:36 2014 +0000 |
tree | 8d88e0ab73e93a7addffee96964206e7d322780e | |
parent | 61bc72e9ae25b6706d9a3a90a72e6d55a0d22b43 [diff] |
Atomics: switch direction of cmpxchg comparison This has two benefits: it makes the result more suitable for direct insertaion into the struct to emulate the new cmpxchg, and it means the name we give the instruction matches its actual effect better. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210916 91177308-0d34-0410-b5e6-96231b3b80d8