[PATCH] D89797: [WebAssembly] Implementation of (most) table instructions

Paulo Matos via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 20 08:25:44 PDT 2020


pmatos created this revision.
pmatos added reviewers: sbc100, tlively.
Herald added subscribers: llvm-commits, ecnelises, sunfish, hiraditya, jgravelle-google, dschuff.
Herald added a project: LLVM.
pmatos requested review of this revision.
Herald added a subscriber: aheejin.

Implementation of instructions table.get, table.set, table.grow,
table.size, table.fill, table.copy.

Missing instructions are table.init and elem.drop as they deal with
element sections which are not yet implemented.

Added more tests to tables.s


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D89797

Files:
  llvm/include/llvm/BinaryFormat/WasmRelocs.def
  llvm/include/llvm/Object/Wasm.h
  llvm/lib/MC/WasmObjectWriter.cpp
  llvm/lib/Object/RelocationResolver.cpp
  llvm/lib/Object/WasmObjectFile.cpp
  llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp
  llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCCodeEmitter.cpp
  llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.h
  llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyWasmObjectWriter.cpp
  llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td
  llvm/lib/Target/WebAssembly/WebAssemblyInstrTable.td
  llvm/test/MC/WebAssembly/tables.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89797.299367.patch
Type: text/x-patch
Size: 15910 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201020/f30fea1e/attachment.bin>


More information about the llvm-commits mailing list