commit | 0ba92ff15e3fd15b9f97983e6ec7e2da00eebd52 | [log] [tgz] |
---|---|---|
author | Daniel Sanders <daniel_l_sanders@apple.com> | Thu Nov 30 20:11:42 2017 +0000 |
committer | Daniel Sanders <daniel_l_sanders@apple.com> | Thu Nov 30 20:11:42 2017 +0000 |
tree | 35dc09eb8bc7515da10020bf18e207f6ba255568 | |
parent | ff7abc1a3fa7c6710581e26be298498f372d8deb [diff] |
[aarch64][globalisel] Legalize G_ATOMIC_CMPXCHG_WITH_SUCCESS and G_ATOMICRMW_* G_ATOMICRMW_* is generally legal on AArch64. The exception is G_ATOMICRMW_NAND. G_ATOMIC_CMPXCHG_WITH_SUCCESS needs to be lowered to G_ATOMIC_CMPXCHG with an external comparison. Note that IRTranslator doesn't generate these instructions yet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319466 91177308-0d34-0410-b5e6-96231b3b80d8