@@ -154,10 +154,6 @@ def FeatureZCRegMove : SubtargetFeature<"zcm", "HasZeroCycleRegMove", "true",
154154def FeatureZCZeroingGP : SubtargetFeature<"zcz-gp", "HasZeroCycleZeroingGP", "true",
155155 "Has zero-cycle zeroing instructions for generic registers">;
156156
157- // It is generally beneficial to rewrite "fmov s0, wzr" to "movi d0, #0".
158- // as movi is more efficient across all cores. Newer cores can eliminate
159- // fmovs early and there is no difference with movi, but this not true for
160- // all implementations.
161157def FeatureNoZCZeroingFP : SubtargetFeature<"no-zcz-fp", "HasZeroCycleZeroingFP", "false",
162158 "Has no zero-cycle zeroing instructions for FP registers">;
163159
@@ -172,7 +168,7 @@ def FeatureZCZeroingFPWorkaround : SubtargetFeature<"zcz-fp-workaround",
172168 "The zero-cycle floating-point zeroing instruction has a bug">;
173169
174170def FeatureStrictAlign : SubtargetFeature<"strict-align",
175- "RequiresStrictAlign ", "true",
171+ "StrictAlign ", "true",
176172 "Disallow all unaligned memory "
177173 "access">;
178174
@@ -194,24 +190,24 @@ def FeaturePredictableSelectIsExpensive : SubtargetFeature<
194190 "Prefer likely predicted branches over selects">;
195191
196192def FeatureCustomCheapAsMoveHandling : SubtargetFeature<"custom-cheap-as-move",
197- "HasCustomCheapAsMoveHandling ", "true",
193+ "CustomAsCheapAsMove ", "true",
198194 "Use custom handling of cheap instructions">;
199195
200196def FeatureExynosCheapAsMoveHandling : SubtargetFeature<"exynos-cheap-as-move",
201- "HasExynosCheapAsMoveHandling ", "true",
197+ "ExynosAsCheapAsMove ", "true",
202198 "Use Exynos specific handling of cheap instructions",
203199 [FeatureCustomCheapAsMoveHandling]>;
204200
205201def FeaturePostRAScheduler : SubtargetFeature<"use-postra-scheduler",
206202 "UsePostRAScheduler", "true", "Schedule again after register allocation">;
207203
208204def FeatureSlowMisaligned128Store : SubtargetFeature<"slow-misaligned-128store",
209- "IsMisaligned128StoreSlow ", "true", "Misaligned 128 bit stores are slow">;
205+ "Misaligned128StoreIsSlow ", "true", "Misaligned 128 bit stores are slow">;
210206
211207def FeatureSlowPaired128 : SubtargetFeature<"slow-paired-128",
212- "IsPaired128Slow ", "true", "Paired 128 bit loads and stores are slow">;
208+ "Paired128IsSlow ", "true", "Paired 128 bit loads and stores are slow">;
213209
214- def FeatureSlowSTRQro : SubtargetFeature<"slow-strqro-store", "IsSTRQroSlow ",
210+ def FeatureSlowSTRQro : SubtargetFeature<"slow-strqro-store", "STRQroIsSlow ",
215211 "true", "STR of Q register with register offset is slow">;
216212
217213def FeatureAlternateSExtLoadCVTF32Pattern : SubtargetFeature<
0 commit comments