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.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Looks good. This kind of begs the question of whether we should do this for the params too (and maybe further refactor the logic about multiple results after lowering), but I'm ok leaving that for later here.
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp | ||
---|---|---|
149 | LLVM style puts the reference by the var, rather than the type. | |
lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h | ||
52–74 | You can delete the Results field itself too. |
LLVM style puts the reference by the var, rather than the type.