summaryrefslogtreecommitdiffstats
path: root/llvm/lib/BinaryFormat/Magic.cpp
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2019-05-28 22:09:12 +0000
committerHeejin Ahn <aheejin@gmail.com>2019-05-28 22:09:12 +0000
commit551465859113a609e72b8de907f8977ff28c234a (patch)
treec6943d2e24fd92f76e957b7d41dcddb8cefef035 /llvm/lib/BinaryFormat/Magic.cpp
parent81748bae47fdaf280877dfa8d7d309b88b848de9 (diff)
downloadbcm5719-llvm-551465859113a609e72b8de907f8977ff28c234a.tar.gz
bcm5719-llvm-551465859113a609e72b8de907f8977ff28c234a.zip
[WebAssembly] Support for atomic fences
Summary: This adds support for translation of LLVM IR fence instruction. We convert a singlethread fence to a pseudo compiler barrier which becomes 0 instructions in final binary, and a thread fence to an idempotent atomicrmw instruction to a memory address. Reviewers: dschuff, jfb, sunfish, tlively Subscribers: sbc100, jgravelle-google, llvm-commits Differential Revision: https://reviews.llvm.org/D50277 llvm-svn: 361884
Diffstat (limited to 'llvm/lib/BinaryFormat/Magic.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud