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 /llvm/lib/Target/WebAssembly/WebAssemblySubtarget.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 'llvm/lib/Target/WebAssembly/WebAssemblySubtarget.h')
-rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblySubtarget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblySubtarget.h b/llvm/lib/Target/WebAssembly/WebAssemblySubtarget.h index e6ee2f54c5e..b6f3e6b4a10 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblySubtarget.h +++ b/llvm/lib/Target/WebAssembly/WebAssemblySubtarget.h @@ -38,6 +38,7 @@ class WebAssemblySubtarget final : public WebAssemblyGenSubtargetInfo { bool HasNontrappingFPToInt = false; bool HasSignExt = false; bool HasExceptionHandling = false; + bool HasBulkMemory = false; /// String name of used CPU. std::string CPUString; @@ -89,6 +90,7 @@ public: bool hasNontrappingFPToInt() const { return HasNontrappingFPToInt; } bool hasSignExt() const { return HasSignExt; } bool hasExceptionHandling() const { return HasExceptionHandling; } + bool hasBulkMemory() const { return HasBulkMemory; } /// Parses features string setting specified subtarget options. Definition of /// function is auto generated by tblgen. |