[PATCH] D49395: [WebAssembly] Support for atomic.wait / atomic.wake instructions

Heejin Ahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 31 17:10:12 PDT 2018


aheejin added a comment.

I guess there's no sane way to make `MachineMemOperand` of `wait` and `wake` instructions return true on `isAtomic()` anyway. First, LLVM currently does not seem to provide atomic memory intrinsic other than few predefined target-independent intrinsics <http://llvm.org/docs/LangRef.html#element-wise-atomic-memory-intrinsics>, and there's no code that depends on `MachineMemOperand::isAtomic()` in the backend passes anyway.


Repository:
  rL LLVM

https://reviews.llvm.org/D49395





More information about the llvm-commits mailing list