[PATCH] D14593: [WebAssembly] Fix function return type printing

Derek Schuff via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 11 15:40:47 PST 2015


dschuff created this revision.
dschuff added a reviewer: sunfish.
dschuff added subscribers: jfb, llvm-commits.
Herald added a subscriber: dschuff.

Previously return type information for a function was derived from
return dag nodes. But this didn't work for dags with != return node. So
instead compute it directly from the LLVM function as is done for imports.

http://reviews.llvm.org/D14593

Files:
  lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
  lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
  lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h
  test/CodeGen/WebAssembly/func.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14593.39984.patch
Type: text/x-patch
Size: 5859 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151111/0f9f431c/attachment.bin>


More information about the llvm-commits mailing list