| commit | aef1dfc690adc6478efcd059bdbb65d0195082b8 | [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 | 93e7e991529cc394ef6593a962e1217705fd88e1 | |
| parent | d78d65c2a4eed16b273c214d24f5d5f55ce31d52 [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. llvm-svn: 319466