[PATCH] D126535: [WebAssembly][NFC] Update reftype and table tests to use opaque pointers

Alex Bradbury via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 27 06:17:38 PDT 2022


asb created this revision.
asb added reviewers: pmatos, sbc100, tlively, aheejin.
Herald added subscribers: StephenFan, ecnelises, sameer.abuasal, sunfish, jgravelle-google, dschuff.
Herald added a project: All.
asb requested review of this revision.
Herald added a project: LLVM.

I'm currently doing some downstream experimentation on support for a broader set of GC types. Some of the options involve changes to the representation of externref and funcref at the IR level, and it seemed cleaner to convert to opaque pointers before further changing these tests. As this is something that needs to be done anyway, I thought I'd share the patch for upstream consideration.

externref-undef.ll is deleted as it's not really testing anything reftype specific.


https://reviews.llvm.org/D126535

Files:
  llvm/test/CodeGen/WebAssembly/externref-globalget.ll
  llvm/test/CodeGen/WebAssembly/externref-globalset.ll
  llvm/test/CodeGen/WebAssembly/externref-inttoptr.ll
  llvm/test/CodeGen/WebAssembly/externref-ptrtoint.ll
  llvm/test/CodeGen/WebAssembly/externref-tableget.ll
  llvm/test/CodeGen/WebAssembly/externref-tableset.ll
  llvm/test/CodeGen/WebAssembly/externref-undef.ll
  llvm/test/CodeGen/WebAssembly/externref-unsized-load.ll
  llvm/test/CodeGen/WebAssembly/externref-unsized-store.ll
  llvm/test/CodeGen/WebAssembly/funcref-call.ll
  llvm/test/CodeGen/WebAssembly/funcref-globalget.ll
  llvm/test/CodeGen/WebAssembly/funcref-globalset.ll
  llvm/test/CodeGen/WebAssembly/funcref-table_call.ll
  llvm/test/CodeGen/WebAssembly/funcref-tableget.ll
  llvm/test/CodeGen/WebAssembly/funcref-tableset.ll
  llvm/test/CodeGen/WebAssembly/ref-null.ll
  llvm/test/CodeGen/WebAssembly/table-copy.ll
  llvm/test/CodeGen/WebAssembly/table-fill.ll
  llvm/test/CodeGen/WebAssembly/table-grow.ll
  llvm/test/CodeGen/WebAssembly/table-size.ll
  llvm/test/CodeGen/WebAssembly/table-types.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126535.432536.patch
Type: text/x-patch
Size: 29049 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220527/1f1c622a/attachment.bin>


More information about the llvm-commits mailing list