[Webassembly][multivalue] update libcall signature when multivalue feature enabled
authorCongcong Cai <congcong.ca.cai@bmw.com>
Tue, 21 Mar 2023 04:04:41 +0000 (12:04 +0800)
committerCongcong Cai <congcong.ca.cai@bmw.com>
Tue, 21 Mar 2023 04:10:51 +0000 (12:10 +0800)
commitd9661d79f46601698b21c01788c244e6294f5eb1
tree1ab39284d8c0b97ad770df0a75272b965efd9b8a
parent4fa9dc948226e374372537250d046924d348307e
[Webassembly][multivalue] update libcall signature when multivalue feature enabled

fixed: #59095
Update libcall signatures to use multivalue return rather than returning via a pointer
when the multivalue features is enabled in the WebAssembly backend.

Reviewed By: tlively

Differential Revision: https://reviews.llvm.org/D146271
llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp
llvm/test/CodeGen/WebAssembly/multivalue_libcall.ll [new file with mode: 0644]