[all-commits] [llvm/llvm-project] b2f21b: [CodeGen][WebAssembly] Better lowering for WASM_SY...

Andy Wingo via All-commits all-commits at lists.llvm.org
Tue May 11 02:49:01 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b2f21b145aecbf5bc1af63b79de395897fc2e6f4
      https://github.com/llvm/llvm-project/commit/b2f21b145aecbf5bc1af63b79de395897fc2e6f4
  Author: Andy Wingo <wingo at igalia.com>
  Date:   2021-05-11 (Tue, 11 May 2021)

  Changed paths:
    M llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.h
    M llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp
    M llvm/test/CodeGen/WebAssembly/global-get.ll
    M llvm/test/CodeGen/WebAssembly/global-set.ll

  Log Message:
  -----------
  [CodeGen][WebAssembly] Better lowering for WASM_SYMBOL_TYPE_GLOBAL symbols

As we have been missing support for WebAssembly globals on the IR level,
the lowering of WASM_SYMBOL_TYPE_GLOBAL to IR was incomplete.  This
commit fleshes out the lowering support, lowering references to and
definitions of addrspace(1) values to correctly typed
WASM_SYMBOL_TYPE_GLOBAL symbols.

Depends on D101608.

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




More information about the All-commits mailing list