@@ -71,6 +71,7 @@ def FeatureReferenceTypes :
7171 SubtargetFeature<"reference-types", "HasReferenceTypes", "true",
7272 "Enable reference types">;
7373
74+ def FeatureGC : SubtargetFeature<"gc", "HasGC", "true", "Enable wasm gc">;
7475def FeatureRelaxedSIMD :
7576 SubtargetFeature<"relaxed-simd", "SIMDLevel", "RelaxedSIMD",
7677 "Enable relaxed-simd instructions">;
@@ -136,13 +137,13 @@ def : ProcessorModel<"lime1", NoSchedModel,
136137
137138// Latest and greatest experimental version of WebAssembly. Bugs included!
138139def : ProcessorModel<"bleeding-edge", NoSchedModel,
139- [FeatureAtomics, FeatureBulkMemory, FeatureBulkMemoryOpt,
140- FeatureCallIndirectOverlong, FeatureExceptionHandling,
141- FeatureExtendedConst, FeatureFP16, FeatureMultiMemory,
142- FeatureMultivalue, FeatureMutableGlobals,
143- FeatureNontrappingFPToInt, FeatureRelaxedSIMD,
144- FeatureReferenceTypes, FeatureSIMD128, FeatureSignExt ,
145- FeatureTailCall]>;
140+ [FeatureAtomics, FeatureBulkMemory, FeatureBulkMemoryOpt,
141+ FeatureCallIndirectOverlong, FeatureExceptionHandling,
142+ FeatureExtendedConst, FeatureFP16, FeatureMultiMemory,
143+ FeatureMultivalue, FeatureMutableGlobals,
144+ FeatureNontrappingFPToInt, FeatureRelaxedSIMD,
145+ FeatureReferenceTypes, FeatureGC, FeatureSIMD128 ,
146+ FeatureSignExt, FeatureTailCall]>;
146147
147148//===----------------------------------------------------------------------===//
148149// Target Declaration
0 commit comments