[WebAssembly] Add multivalue and tail-call target features
authorThomas Lively <tlively@google.com>
Thu, 23 May 2019 17:26:47 +0000 (17:26 +0000)
committerThomas Lively <tlively@google.com>
Thu, 23 May 2019 17:26:47 +0000 (17:26 +0000)
commiteafe8ef6f2b44baf5a84658caca90c2f9c1849ca
tree38bdbf81421ed26bcfc1f748dba71f28cc2c9880
parent7b7683d7a6c4b3839629403a85dc0bd5b9a502b6
[WebAssembly] Add multivalue and tail-call target features

Summary:
These features will both be implemented soon, so I thought I would
save time by adding the boilerplate for both of them at the same time.

Reviewers: aheejin

Subscribers: dschuff, sbc100, jgravelle-google, hiraditya, sunfish, cfe-commits, llvm-commits

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D62047

llvm-svn: 361516
clang/include/clang/Driver/Options.td
clang/lib/Basic/Targets/WebAssembly.cpp
clang/lib/Basic/Targets/WebAssembly.h
clang/test/Preprocessor/wasm-target-features.c
llvm/lib/Target/WebAssembly/WebAssembly.td
llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td
llvm/lib/Target/WebAssembly/WebAssemblySubtarget.h
llvm/test/CodeGen/WebAssembly/multivalue.ll [new file with mode: 0644]
llvm/test/CodeGen/WebAssembly/tailcall.ll [new file with mode: 0644]