[PATCH] D49088: [WebAssembly] Support for binary atomic RMW instructions

Heejin Ahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 9 10:00:54 PDT 2018


aheejin created this revision.
aheejin added a reviewer: dschuff.
Herald added subscribers: llvm-commits, sunfish, jgravelle-google, sbc100.

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


Repository:
  rL LLVM

https://reviews.llvm.org/D49088

Files:
  lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.h
  lib/Target/WebAssembly/WebAssemblyInstrAtomics.td
  lib/Target/WebAssembly/WebAssemblySetP2AlignOperands.cpp
  test/CodeGen/WebAssembly/atomic-rmw.ll
  test/CodeGen/WebAssembly/offset-atomics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49088.154633.patch
Type: text/x-patch
Size: 66502 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180709/0a006bce/attachment.bin>


More information about the llvm-commits mailing list