[PATCH] D49195: [WebAssembly] Support for a ternary atomic RMW instruction

Heejin Ahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 11 09:16:59 PDT 2018


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

This adds support for a ternary atomic RMW instruction: cmpxchg.


Repository:
  rL LLVM

https://reviews.llvm.org/D49195

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49195.155020.patch
Type: text/x-patch
Size: 46885 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180711/67220cc5/attachment-0001.bin>


More information about the llvm-commits mailing list