[PATCH] D147540: [MC][WebAssembly] For type checking for bulk memory instructions

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 4 08:44:45 PDT 2023


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

This code currently assumes that all bulk memory operations occur on
memory 0 which who's type is determined by the wasm32 vs wasm64 target
triple.  Further improvement would be need to support multi-memory.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D147540

Files:
  lld/wasm/Driver.cpp
  llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmTypeCheck.cpp
  llvm/test/MC/WebAssembly/bulk-memory-encodings.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147540.510820.patch
Type: text/x-patch
Size: 3940 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230404/f9eee533/attachment.bin>


More information about the llvm-commits mailing list