[PATCH] D68684: [WebAssembly] Make returns variadic

Thomas Lively via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 8 22:21:16 PDT 2019


tlively created this revision.
tlively added reviewers: aheejin, dschuff.
Herald added subscribers: llvm-commits, sunfish, hiraditya, jgravelle-google, sbc100.
Herald added a project: LLVM.

This is necessary and sufficient to get simple cases of multiple
return working with multivalue enabled. More complex cases will
require block and loop signatures to be generalized to potentially be
type indices as well.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D68684

Files:
  llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyInstPrinter.cpp
  llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
  llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
  llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp
  llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
  llvm/lib/Target/WebAssembly/WebAssemblyInstrControl.td
  llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td
  llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.cpp
  llvm/lib/Target/WebAssembly/WebAssemblyPeephole.cpp
  llvm/test/CodeGen/MIR/WebAssembly/int-type-register-class-name.mir
  llvm/test/CodeGen/WebAssembly/atomic-fence.mir
  llvm/test/CodeGen/WebAssembly/eh-labels.mir
  llvm/test/CodeGen/WebAssembly/explicit-locals.mir
  llvm/test/CodeGen/WebAssembly/function-info.mir
  llvm/test/CodeGen/WebAssembly/llround-conv-i32.ll
  llvm/test/CodeGen/WebAssembly/multivalue.ll
  llvm/test/CodeGen/WebAssembly/reg-argument.mir
  llvm/test/CodeGen/WebAssembly/reg-copy.mir
  llvm/test/DebugInfo/WebAssembly/dbg-value-move-clone.mir
  llvm/test/DebugInfo/WebAssembly/dbg-value-move-reg-stackify.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68684.223989.patch
Type: text/x-patch
Size: 26242 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191009/2f515acf/attachment.bin>


More information about the llvm-commits mailing list