[WebAssembly] Add experimental multivalue calling ABI
authorThomas Lively <tlively@google.com>
Sat, 18 Jan 2020 02:28:43 +0000 (18:28 -0800)
committerThomas Lively <tlively@google.com>
Wed, 5 Feb 2020 05:09:49 +0000 (21:09 -0800)
commit8c3e6af71b8e827655c83997747a2042feddc845
treea35f0e0d6e9024bd10ad7538e4fbfe7ca0702030
parent649aba93a27170cb03a4b17c98a19b9237a880b8
[WebAssembly] Add experimental multivalue calling ABI

Summary:
For now, this ABI simply expands all possible aggregate arguments and
returns all possible aggregates directly. This ABI will change rapidly
as we prototype and benchmark a new ABI that takes advantage of
multivalue return and possibly other changes from the MVP ABI.

Reviewers: aheejin, dschuff

Subscribers: sbc100, jgravelle-google, sunfish, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D72972
clang/lib/Basic/Targets/WebAssembly.cpp
clang/lib/Basic/Targets/WebAssembly.h
clang/lib/CodeGen/TargetInfo.cpp
clang/test/CodeGen/wasm-arguments.c