[PATCH] D58337: [WebAssembly] Fix load/store name detection for atomic instructions

Heejin Ahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 17 17:21:25 PST 2019


aheejin created this revision.
aheejin added reviewers: aardappel, tlively.
Herald added subscribers: llvm-commits, jfb, sunfish, jgravelle-google, sbc100, dschuff.
Herald added a project: LLVM.
aheejin added a child revision: D58338: [WebAssembly] Refactor atomic operation definitions (NFC).

Fixed a bug in the routine in AsmParser that determines whether the
current instruction is a load or a store. Atomic instructions' prefixes
are not `atomic_` but `atomic.`, and all atomic instructions are also
memory instructions. Also fixed the printing format of atomic
instructions to match other memory instructions and added encoding tests
for atomic instructions.


Repository:
  rL LLVM

https://reviews.llvm.org/D58337

Files:
  lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
  lib/Target/WebAssembly/WebAssemblyInstrAtomics.td
  test/MC/WebAssembly/atomics-encodings.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58337.187183.patch
Type: text/x-patch
Size: 10200 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190218/3bceb70b/attachment.bin>


More information about the llvm-commits mailing list