| commit | e8653bb89a8e3159c920eb063cc28d1254474c66 | [log] [tgz] |
|---|---|---|
| author | Heejin Ahn <aheejin@gmail.com> | Tue Aug 07 00:22:22 2018 +0000 |
| committer | Heejin Ahn <aheejin@gmail.com> | Tue Aug 07 00:22:22 2018 +0000 |
| tree | 037ee5da83389c8b5ead12feb8d02fc73ac514fb | |
| parent | f66d0ce10b1aea10bfdd52e5de2e0729d3827a0c [diff] |
[WebAssembly] Enable atomic expansion for unsupported atomicrmws Summary: Wasm does not have direct counterparts to some of LLVM IR's atomicrmw instructions (min, max, umin, umax, and nand). This enables atomic expansion using cmpxchg instruction within a loop for those atomicrmw instructions. Reviewers: dschuff Subscribers: sbc100, jgravelle-google, sunfish, llvm-commits Differential Revision: https://reviews.llvm.org/D49440 llvm-svn: 339084