HomePhabricator

[WebAssembly] Support for binary atomic RMW instructions

Authored by aheejin on Jul 9 2018, 3:30 PM.

Description

[WebAssembly] Support for binary atomic RMW instructions

Summary:
This adds support for binary atomic read-modify-write instructions:
add, sub, and, or, xor, and xchg.

This does not yet support translations of some of LLVM IR atomicrmw
instructions (nand, max, min, umax, and umin) that do not have a direct
counterpart in wasm instructions.

Reviewers: dschuff

Subscribers: sbc100, jgravelle-google, sunfish, llvm-commits

Differential Revision: https://reviews.llvm.org/D49088

llvm-svn: 336615

Details

Committed
aheejinJul 9 2018, 3:30 PM
Differential Revision
D49088: [WebAssembly] Support for binary atomic RMW instructions
Parents
rG703c872a4a64: Simplify RelrSection<ELFT>::updateAllocSize.
Branches
Unknown
Tags
Unknown