[all-commits] [llvm/llvm-project] cb778e: [WebAssembly] Implement ref.is_null MC layer suppo...

Alex Bradbury via All-commits all-commits at lists.llvm.org
Thu May 12 23:08:36 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cb778e9328292b7cfa4e0b43f26e4d1091923a39
      https://github.com/llvm/llvm-project/commit/cb778e9328292b7cfa4e0b43f26e4d1091923a39
  Author: Alex Bradbury <asb at igalia.com>
  Date:   2022-05-13 (Fri, 13 May 2022)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsWebAssembly.td
    M llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmTypeCheck.cpp
    M llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmTypeCheck.h
    M llvm/lib/Target/WebAssembly/Utils/WebAssemblyTypeUtilities.h
    M llvm/lib/Target/WebAssembly/WebAssemblyInstrRef.td
    M llvm/test/CodeGen/WebAssembly/ref-null.ll
    M llvm/test/MC/WebAssembly/reference-types.s
    M llvm/test/MC/WebAssembly/type-checker-errors.s

  Log Message:
  -----------
  [WebAssembly] Implement ref.is_null MC layer support and codegen

Custom type-checking (in WebAssemblyAsmTypeCheck.cpp) is used to
workaround the fact that separate variants of the instruction are
defined for externref and funcref.

Based on an initial patch by Paulo Matos <pmatos at igalia.com>.

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




More information about the All-commits mailing list