[PATCH] D38523: [WebAssembly] Add the rest of the atomic loads

Derek Schuff via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 3 17:33:08 PDT 2017


dschuff created this revision.
Herald added subscribers: aheejin, sbc100, jfb.

Add extending loads and constant offset patterns
A bit more refactoring of the tablegen to make the patterns fairly nice and
uniform between the regular and atomic loads.


https://reviews.llvm.org/D38523

Files:
  lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.h
  lib/Target/WebAssembly/WebAssemblyInstrAtomics.td
  lib/Target/WebAssembly/WebAssemblyInstrMemory.td
  lib/Target/WebAssembly/WebAssemblySetP2AlignOperands.cpp
  lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
  test/CodeGen/WebAssembly/atomics.ll
  test/CodeGen/WebAssembly/i32-load-store-alignment.ll
  test/CodeGen/WebAssembly/i64-load-store-alignment.ll
  test/CodeGen/WebAssembly/load-ext-atomic.ll
  test/CodeGen/WebAssembly/offset-atomics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38523.117610.patch
Type: text/x-patch
Size: 35138 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171004/40666cb9/attachment.bin>


More information about the llvm-commits mailing list