[PATCH] D115511: [WebAssembly] Lower global syms representing tables with .tabletype

Paulo Matos via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 13 03:30:56 PST 2021


pmatos updated this revision to Diff 393835.
pmatos added a comment.

Fixes the issues found with previous patch.

We needed to ensure that GlobalVariable emissions supports table type 
symbols as well as proper lowering.

@sbc100, I didn't ignore your comment regarding MO_SYM_IS_..._TABLE but 
at this point I really don't know where to place this information for the
MC layer to act on it.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D115511/new/

https://reviews.llvm.org/D115511

Files:
  llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.h
  llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
  llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
  llvm/lib/Target/WebAssembly/WebAssemblyInstrTable.td
  llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp
  llvm/test/CodeGen/WebAssembly/externref-tableget.ll
  llvm/test/CodeGen/WebAssembly/externref-tableset.ll
  llvm/test/CodeGen/WebAssembly/funcref-table_call.ll
  llvm/test/CodeGen/WebAssembly/funcref-tableget.ll
  llvm/test/CodeGen/WebAssembly/funcref-tableset.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115511.393835.patch
Type: text/x-patch
Size: 10655 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211213/b6df1866/attachment.bin>


More information about the llvm-commits mailing list