File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
llvm/lib/Target/WebAssembly Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,10 @@ def HasMultiMemory :
78
78
Predicate<"Subtarget->hasMultiMemory()">,
79
79
AssemblerPredicate<(all_of FeatureMultiMemory), "multimemory">;
80
80
81
+ def HasMutableGlobals:
82
+ Predicate<"Subtarget->hasMutableGlobals()">,
83
+ AssemblerPredicate<(all_of FeatureMutableGlobals), "mutable-globals">;
84
+
81
85
//===----------------------------------------------------------------------===//
82
86
// WebAssembly-specific DAG Node Types.
83
87
//===----------------------------------------------------------------------===//
Original file line number Diff line number Diff line change @@ -105,6 +105,7 @@ class WebAssemblySubtarget final : public WebAssemblyGenSubtargetInfo {
105
105
bool hasTailCall () const { return HasTailCall; }
106
106
bool hasReferenceTypes () const { return HasReferenceTypes; }
107
107
bool hasMultiMemory () const { return HasMultiMemory; }
108
+ bool hasExtendedConst () const { return HasExtendedConst; }
108
109
109
110
// / Parses features string setting specified subtarget options. Definition of
110
111
// / function is auto generated by tblgen.
You can’t perform that action at this time.
0 commit comments