[PATCH] D101913: [CodeGen][WebAssembly] Better lowering for WASM_SYMBOL_TYPE_GLOBAL symbols
    Andy Wingo via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed May  5 08:22:57 PDT 2021
    
    
  
wingo created this revision.
wingo added reviewers: tlively, pmatos.
Herald added subscribers: ecnelises, sunfish, hiraditya, jgravelle-google, dschuff.
wingo requested review of this revision.
Herald added subscribers: llvm-commits, aheejin.
Herald added a project: LLVM.
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 <https://reviews.llvm.org/D101608>.
Repository:
  rG LLVM Github Monorepo
https://reviews.llvm.org/D101913
Files:
  llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
  llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.h
  llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp
  llvm/test/CodeGen/WebAssembly/global-get.ll
  llvm/test/CodeGen/WebAssembly/global-set.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101913.343058.patch
Type: text/x-patch
Size: 8864 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210505/9e523574/attachment.bin>
    
    
More information about the llvm-commits
mailing list