@@ -154,10 +154,6 @@ def FeatureZCRegMove : SubtargetFeature<"zcm", "HasZeroCycleRegMove", "true",
154
154
def FeatureZCZeroingGP : SubtargetFeature<"zcz-gp", "HasZeroCycleZeroingGP", "true",
155
155
"Has zero-cycle zeroing instructions for generic registers">;
156
156
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.
161
157
def FeatureNoZCZeroingFP : SubtargetFeature<"no-zcz-fp", "HasZeroCycleZeroingFP", "false",
162
158
"Has no zero-cycle zeroing instructions for FP registers">;
163
159
@@ -172,7 +168,7 @@ def FeatureZCZeroingFPWorkaround : SubtargetFeature<"zcz-fp-workaround",
172
168
"The zero-cycle floating-point zeroing instruction has a bug">;
173
169
174
170
def FeatureStrictAlign : SubtargetFeature<"strict-align",
175
- "RequiresStrictAlign ", "true",
171
+ "StrictAlign ", "true",
176
172
"Disallow all unaligned memory "
177
173
"access">;
178
174
@@ -194,24 +190,24 @@ def FeaturePredictableSelectIsExpensive : SubtargetFeature<
194
190
"Prefer likely predicted branches over selects">;
195
191
196
192
def FeatureCustomCheapAsMoveHandling : SubtargetFeature<"custom-cheap-as-move",
197
- "HasCustomCheapAsMoveHandling ", "true",
193
+ "CustomAsCheapAsMove ", "true",
198
194
"Use custom handling of cheap instructions">;
199
195
200
196
def FeatureExynosCheapAsMoveHandling : SubtargetFeature<"exynos-cheap-as-move",
201
- "HasExynosCheapAsMoveHandling ", "true",
197
+ "ExynosAsCheapAsMove ", "true",
202
198
"Use Exynos specific handling of cheap instructions",
203
199
[FeatureCustomCheapAsMoveHandling]>;
204
200
205
201
def FeaturePostRAScheduler : SubtargetFeature<"use-postra-scheduler",
206
202
"UsePostRAScheduler", "true", "Schedule again after register allocation">;
207
203
208
204
def FeatureSlowMisaligned128Store : SubtargetFeature<"slow-misaligned-128store",
209
- "IsMisaligned128StoreSlow ", "true", "Misaligned 128 bit stores are slow">;
205
+ "Misaligned128StoreIsSlow ", "true", "Misaligned 128 bit stores are slow">;
210
206
211
207
def 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">;
213
209
214
- def FeatureSlowSTRQro : SubtargetFeature<"slow-strqro-store", "IsSTRQroSlow ",
210
+ def FeatureSlowSTRQro : SubtargetFeature<"slow-strqro-store", "STRQroIsSlow ",
215
211
"true", "STR of Q register with register offset is slow">;
216
212
217
213
def FeatureAlternateSExtLoadCVTF32Pattern : SubtargetFeature<
0 commit comments