summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2019-04-12 20:39:53 +0000
committerThomas Lively <tlively@google.com>2019-04-12 20:39:53 +0000
commit9e27514996e7dd183cd84b59656ac64b7514776f (patch)
treebe87576cb4357b89a9bc3d6ad99526fc9fc6373d /llvm/lib
parent6636978243419a98cc26555b6ad721ca51733e86 (diff)
downloadbcm5719-llvm-9e27514996e7dd183cd84b59656ac64b7514776f.tar.gz
bcm5719-llvm-9e27514996e7dd183cd84b59656ac64b7514776f.zip
[WebAssembly] Add mutable-globals to bleeding-edge CPU
Summary: This brings the backend in line with Clang. Reviewers: aheejin, dschuff Subscribers: sbc100, jgravelle-google, hiraditya, sunfish, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D60594 llvm-svn: 358310
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/WebAssembly/WebAssembly.td3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssembly.td b/llvm/lib/Target/WebAssembly/WebAssembly.td
index 9138683d498..813c7e652e4 100644
--- a/llvm/lib/Target/WebAssembly/WebAssembly.td
+++ b/llvm/lib/Target/WebAssembly/WebAssembly.td
@@ -86,7 +86,8 @@ def : ProcessorModel<"generic", NoSchedModel, []>;
// Latest and greatest experimental version of WebAssembly. Bugs included!
def : ProcessorModel<"bleeding-edge", NoSchedModel,
[FeatureSIMD128, FeatureAtomics,
- FeatureNontrappingFPToInt, FeatureSignExt]>;
+ FeatureNontrappingFPToInt, FeatureSignExt,
+ FeatureMutableGlobals]>;
//===----------------------------------------------------------------------===//
// Target Declaration
OpenPOWER on IntegriCloud