[PATCH] D58338: [WebAssembly] Refactor atomic operation definitions (NFC)

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


aheejin created this revision.
aheejin added a reviewer: tlively.
Herald added subscribers: llvm-commits, jfb, sunfish, jgravelle-google, sbc100, dschuff.
Herald added a project: LLVM.
aheejin added a parent revision: D58337: [WebAssembly] Fix load/store name detection for atomic instructions.

- Make `ATOMIC_I`, `ATOMIC_NRI`, `AtomicLoad`, `AtomicStore` classes and make other operations inherit from them
- Factor the common opcode prefix '0xfe' out from the opcodes into the common class
- Reorder instructions in the order of increasing opcodes


Repository:
  rL LLVM

https://reviews.llvm.org/D58338

Files:
  lib/Target/WebAssembly/WebAssemblyInstrAtomics.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58338.187184.patch
Type: text/x-patch
Size: 27197 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190218/7f721ab7/attachment.bin>


More information about the llvm-commits mailing list