This adds atomic.fence instruction:
https://github.com/WebAssembly/threads/blob/master/proposals/threads/Overview.md#fence-operator
And we now emit the new atomic.fence instruction for multithread
fences, rather than the prevous atomic.rmw hack.
Paths
| Differential D66794
[WebAssembly] Add atomic.fence instruction ClosedPublic Authored by aheejin on Aug 27 2019, 3:33 AM.
Details Summary This adds atomic.fence instruction: And we now emit the new atomic.fence instruction for multithread
Diff Detail
Event Timelineaheejin retitled this revision from Add atomic.fence instruction to [WebAssembly] Add atomic.fence instruction.Aug 27 2019, 3:33 AM dschuff added inline comments.
This revision is now accepted and ready to land.Aug 27 2019, 8:44 AM aheejin marked an inline comment as done. Comment Actions
Closed by commit rL370272: [WebAssembly] Add atomic.fence instruction (authored by aheejin). · Explain WhyAug 28 2019, 4:17 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 217735 llvm/trunk/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrAtomics.td
llvm/trunk/test/CodeGen/WebAssembly/atomic-fence.ll
llvm/trunk/test/CodeGen/WebAssembly/atomic-fence.mir
llvm/trunk/test/MC/WebAssembly/atomics-encodings.s
|