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 :
7878 Predicate<"Subtarget->hasMultiMemory()">,
7979 AssemblerPredicate<(all_of FeatureMultiMemory), "multimemory">;
8080
81+ def HasMutableGlobals:
82+ Predicate<"Subtarget->hasMutableGlobals()">,
83+ AssemblerPredicate<(all_of FeatureMutableGlobals), "mutable-globals">;
84+
8185//===----------------------------------------------------------------------===//
8286// WebAssembly-specific DAG Node Types.
8387//===----------------------------------------------------------------------===//
Original file line number Diff line number Diff line change @@ -105,6 +105,7 @@ class WebAssemblySubtarget final : public WebAssemblyGenSubtargetInfo {
105105 bool hasTailCall () const { return HasTailCall; }
106106 bool hasReferenceTypes () const { return HasReferenceTypes; }
107107 bool hasMultiMemory () const { return HasMultiMemory; }
108+ bool hasExtendedConst () const { return HasExtendedConst; }
108109
109110 // / Parses features string setting specified subtarget options. Definition of
110111 // / function is auto generated by tblgen.
You can’t perform that action at this time.
0 commit comments