[PATCH] D107102: [WebAssembly] Add new pass to lower int/ptr conversions of reftypes

Paulo Matos via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 2 04:26:57 PDT 2021


pmatos updated this revision to Diff 363437.
pmatos edited the summary of this revision.
pmatos added a comment.

Generate a trap instruction to replace inttoptr and ptrtoint instead of unreachable


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107102

Files:
  llvm/lib/Target/WebAssembly/CMakeLists.txt
  llvm/lib/Target/WebAssembly/WebAssembly.h
  llvm/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
  llvm/lib/Target/WebAssembly/WebAssemblyLowerRefTypesIntPtrConv.cpp
  llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
  llvm/test/CodeGen/WebAssembly/externref-inttoptr.ll
  llvm/test/CodeGen/WebAssembly/externref-ptrtoint.ll
  llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/BUILD.gn

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107102.363437.patch
Type: text/x-patch
Size: 9939 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210802/18aa6fc7/attachment.bin>


More information about the llvm-commits mailing list