[all-commits] [llvm/llvm-project] 900116: [WebAssembly] Add tests for the Asm type checker

Alex Bradbury via All-commits all-commits at lists.llvm.org
Tue Mar 22 09:22:53 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9001168cf8b8c85ec9af9b91756b39d2da0130bf
      https://github.com/llvm/llvm-project/commit/9001168cf8b8c85ec9af9b91756b39d2da0130bf
  Author: Alex Bradbury <asb at igalia.com>
  Date:   2022-03-22 (Tue, 22 Mar 2022)

  Changed paths:
    A llvm/test/MC/WebAssembly/type-checker-errors.s
    A llvm/test/MC/WebAssembly/type-checker-return.s

  Log Message:
  -----------
   [WebAssembly] Add tests for the Asm type checker

While looking at bugs like PR54022, 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.

Differential Revision: https://reviews.llvm.org/D122020




More information about the All-commits mailing list