[PATCH] D122020: [WebAssembly][WIP] Add tests for the Asm type checker

Alex Bradbury via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 18 10:04:24 PDT 2022


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

Note: This is a work in progress.

While looking at bugs like PR54022 <https://github.com/llvm/llvm-project/issues/54022>, I noted that there is no real test coverage for the asm type checker. This patch starts to address that, adding a series of tests for the errors messages produced, as well as some FIXMEs as an XFAIL test for some current issues.

It's not intended to be an exhaustive test, but does have test cases for each of the instructions that the type checker has specific handling for.


https://reviews.llvm.org/D122020

Files:
  llvm/test/MC/WebAssembly/type-checker-errors.s
  llvm/test/MC/WebAssembly/type-checker-return.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122020.416539.patch
Type: text/x-patch
Size: 14780 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220318/7080f4fa/attachment.bin>


More information about the llvm-commits mailing list