diff options
author | Thomas Lively <tlively@google.com> | 2019-01-31 21:02:19 +0000 |
---|---|---|
committer | Thomas Lively <tlively@google.com> | 2019-01-31 21:02:19 +0000 |
commit | 88058d4e1e05eb873c1df358e94d4e7608007ab6 (patch) | |
tree | 93a6234540b2df03311bbcd4606d82e39d78300f /clang/lib/Basic/Targets/WebAssembly.h | |
parent | 0bed9e0453e1298f4323a3ec5d94a6e812d53612 (diff) | |
download | bcm5719-llvm-88058d4e1e05eb873c1df358e94d4e7608007ab6.tar.gz bcm5719-llvm-88058d4e1e05eb873c1df358e94d4e7608007ab6.zip |
[WebAssembly] Add bulk memory target feature
Summary: Also clean up some preexisting target feature code.
Reviewers: aheejin
Subscribers: dschuff, sbc100, jgravelle-google, hiraditya, sunfish, jfb
Differential Revision: https://reviews.llvm.org/D57495
llvm-svn: 352793
Diffstat (limited to 'clang/lib/Basic/Targets/WebAssembly.h')
-rw-r--r-- | clang/lib/Basic/Targets/WebAssembly.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/lib/Basic/Targets/WebAssembly.h b/clang/lib/Basic/Targets/WebAssembly.h index b1723505348..1d41f2011bb 100644 --- a/clang/lib/Basic/Targets/WebAssembly.h +++ b/clang/lib/Basic/Targets/WebAssembly.h @@ -30,14 +30,14 @@ class LLVM_LIBRARY_VISIBILITY WebAssemblyTargetInfo : public TargetInfo { UnimplementedSIMD128, } SIMDLevel = NoSIMD; - bool HasNontrappingFPToInt; - bool HasSignExt; - bool HasExceptionHandling; + bool HasNontrappingFPToInt = false; + bool HasSignExt = false; + bool HasExceptionHandling = false; + bool HasBulkMemory = false; public: explicit WebAssemblyTargetInfo(const llvm::Triple &T, const TargetOptions &) - : TargetInfo(T), SIMDLevel(NoSIMD), HasNontrappingFPToInt(false), - HasSignExt(false), HasExceptionHandling(false) { + : TargetInfo(T) { NoAsmVariants = true; SuitableAlign = 128; LargeArrayMinWidth = 128; |