[all-commits] [llvm/llvm-project] 6d0c7b: [WebAssembly] Implementation of table.get/set for ...

Paulo Matos via All-commits all-commits at lists.llvm.org
Wed Oct 20 01:38:33 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6d0c7bc17de85807c286f78571235b6658999faf
      https://github.com/llvm/llvm-project/commit/6d0c7bc17de85807c286f78571235b6658999faf
  Author: Paulo Matos <pmatos at igalia.com>
  Date:   2021-10-20 (Wed, 20 Oct 2021)

  Changed paths:
    M clang/lib/Basic/Targets/WebAssembly.h
    M clang/test/CodeGen/target-data.c
    M lld/test/wasm/lto/Inputs/archive.ll
    M lld/test/wasm/lto/Inputs/cache.ll
    M lld/test/wasm/lto/Inputs/libcall-archive.ll
    M lld/test/wasm/lto/Inputs/libcall-truncsfhf2.ll
    M lld/test/wasm/lto/Inputs/save-temps.ll
    M lld/test/wasm/lto/Inputs/thinlto.ll
    M lld/test/wasm/lto/Inputs/used.ll
    M lld/test/wasm/lto/archive.ll
    M lld/test/wasm/lto/atomics.ll
    M lld/test/wasm/lto/cache.ll
    M lld/test/wasm/lto/comdat.ll
    M lld/test/wasm/lto/diagnostics.ll
    M lld/test/wasm/lto/export.ll
    M lld/test/wasm/lto/import-attributes.ll
    M lld/test/wasm/lto/internalize-basic.ll
    M lld/test/wasm/lto/libcall-archive.ll
    M lld/test/wasm/lto/libcall-truncsfhf2.ll
    M lld/test/wasm/lto/lto-start.ll
    M lld/test/wasm/lto/new-pass-manager.ll
    M lld/test/wasm/lto/opt-level.ll
    M lld/test/wasm/lto/parallel.ll
    M lld/test/wasm/lto/relocatable-undefined.ll
    M lld/test/wasm/lto/relocatable.ll
    M lld/test/wasm/lto/save-temps.ll
    M lld/test/wasm/lto/thinlto.ll
    M lld/test/wasm/lto/tls.ll
    M lld/test/wasm/lto/undef.ll
    M lld/test/wasm/lto/used.ll
    M lld/test/wasm/lto/verify-invalid.ll
    M lld/test/wasm/lto/weak-undefined.ll
    M lld/test/wasm/lto/weak.ll
    M llvm/lib/Target/WebAssembly/WebAssemblyISD.def
    M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h
    M llvm/lib/Target/WebAssembly/WebAssemblyInstrTable.td
    M llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
    A llvm/test/CodeGen/WebAssembly/externref-tableget.ll
    A llvm/test/CodeGen/WebAssembly/externref-tableset.ll
    A llvm/test/CodeGen/WebAssembly/funcref-table_call.ll
    A llvm/test/CodeGen/WebAssembly/funcref-tableget.ll
    A llvm/test/CodeGen/WebAssembly/funcref-tableset.ll

  Log Message:
  -----------
  [WebAssembly] Implementation of table.get/set for reftypes in LLVM IR

This change implements new DAG nodes TABLE_GET/TABLE_SET, and lowering
methods for load and stores of reference types from IR arrays. These
global LLVM IR arrays represent tables at the Wasm level.

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




More information about the All-commits mailing list