diff options
author | Thomas Lively <tlively@google.com> | 2019-05-23 17:26:47 +0000 |
---|---|---|
committer | Thomas Lively <tlively@google.com> | 2019-05-23 17:26:47 +0000 |
commit | eafe8ef6f2b44baf5a84658caca90c2f9c1849ca (patch) | |
tree | 38bdbf81421ed26bcfc1f748dba71f28cc2c9880 /clang/lib/Basic/Targets/WebAssembly.h | |
parent | 7b7683d7a6c4b3839629403a85dc0bd5b9a502b6 (diff) | |
download | bcm5719-llvm-eafe8ef6f2b44baf5a84658caca90c2f9c1849ca.tar.gz bcm5719-llvm-eafe8ef6f2b44baf5a84658caca90c2f9c1849ca.zip |
[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
Diffstat (limited to 'clang/lib/Basic/Targets/WebAssembly.h')
-rw-r--r-- | clang/lib/Basic/Targets/WebAssembly.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Basic/Targets/WebAssembly.h b/clang/lib/Basic/Targets/WebAssembly.h index a0516da286c..9665156b143 100644 --- a/clang/lib/Basic/Targets/WebAssembly.h +++ b/clang/lib/Basic/Targets/WebAssembly.h @@ -36,6 +36,8 @@ class LLVM_LIBRARY_VISIBILITY WebAssemblyTargetInfo : public TargetInfo { bool HasBulkMemory = false; bool HasAtomics = false; bool HasMutableGlobals = false; + bool HasMultivalue = false; + bool HasTailCall = false; public: explicit WebAssemblyTargetInfo(const llvm::Triple &T, const TargetOptions &) |