@@ -97,28 +97,28 @@ def iHasFLOAT7E60 : Predicate<"Subtarget->hasFLOAT7E60()">,
9797 "Support CSKY float7e60 instructions">;
9898
9999def FeatureHWDiv : SubtargetFeature<"hwdiv", "HasHardwareDivide", "true",
100- "Enable divide instrutions ">;
100+ "Enable divide instructions ">;
101101def HasHWDiv : Predicate<"Subtarget->hasHardwareDivide()">,
102102 AssemblerPredicate<(all_of FeatureHWDiv),
103- "Enable divide instrutions ">;
103+ "Enable divide instructions ">;
104104
105105def FeatureSTM : SubtargetFeature<"multiple_stld", "HasSTM", "true",
106- "Enable multiple load/store instrutions ">;
106+ "Enable multiple load/store instructions ">;
107107def HasSTM : Predicate<"Subtarget->hasSTM()">,
108108 AssemblerPredicate<(all_of FeatureSTM),
109- "Enable multiple load/store instrutions ">;
109+ "Enable multiple load/store instructions ">;
110110
111111def FeaturePushPop : SubtargetFeature<"pushpop", "HasPushPop", "true",
112- "Enable push/pop instrutions ">;
112+ "Enable push/pop instructions ">;
113113def HasPushPop : Predicate<"Subtarget->hasPushPop()">,
114114 AssemblerPredicate<(all_of FeaturePushPop),
115- "Enable push/pop instrutions ">;
115+ "Enable push/pop instructions ">;
116116
117117def FeatureDSP
118- : SubtargetFeature<"edsp", "HasDSP", "true", "Enable DSP instrutions ">;
118+ : SubtargetFeature<"edsp", "HasDSP", "true", "Enable DSP instructions ">;
119119def HasDSP : Predicate<"Subtarget->hasDSP()">,
120120 AssemblerPredicate<(all_of FeatureDSP),
121- "Enable DSP instrutions ">;
121+ "Enable DSP instructions ">;
122122
123123def HasDSP1E2
124124 : SubtargetFeature<"dsp1e2", "HasDSP1E2", "true", "Support CSKY dsp1e2 instructions">;
@@ -133,16 +133,16 @@ def iHasDSPE60 : Predicate<"Subtarget->hasDSPE60()">,
133133 "Support CSKY dspe60 instructions">;
134134
135135def FeatureDSPV2 : SubtargetFeature<"dspv2", "HasDSPV2", "true",
136- "Enable DSP V2.0 instrutions ">;
136+ "Enable DSP V2.0 instructions ">;
137137def HasDSPV2 : Predicate<"Subtarget->hasDSPV2()">,
138138 AssemblerPredicate<(all_of FeatureDSPV2),
139- "Enable DSP V2.0 instrutions ">;
139+ "Enable DSP V2.0 instructions ">;
140140
141141def FeatureDSP_Silan : SubtargetFeature<"dsp_silan", "HasDSP_Silan", "true",
142- "Enable DSP Silan instrutions ">;
142+ "Enable DSP Silan instructions ">;
143143def HasDSP_Silan : Predicate<"Subtarget->hasDSP_Silan()">,
144144 AssemblerPredicate<(all_of FeatureDSP_Silan),
145- "Enable DSP Silan instrutions ">;
145+ "Enable DSP Silan instructions ">;
146146
147147// Atomic Support
148148def FeatureBTST16 : SubtargetFeature<"btst16", "HasBTST16", "true",
@@ -232,11 +232,11 @@ def FeatureSoftTP : SubtargetFeature<"soft-tp", "ReadTPHard", "false",
232232 "Disable TLS Pointer register">;
233233
234234def FeatureIstack : SubtargetFeature<"istack", "EnableInterruptAttribute",
235- "true", "Enable interrput attribute">;
235+ "true", "Enable interrupt attribute">;
236236def EnableInterruptAttribute
237237 : Predicate<"Subtarget->enableInterruptAttribute()">,
238238 AssemblerPredicate<(all_of FeatureIstack),
239- "Enable interrput attribute">;
239+ "Enable interrupt attribute">;
240240
241241def FeatureConstPool : SubtargetFeature<"constpool", "DumpConstPool", "true",
242242 "Dump the constant pool by compiler">;
0 commit comments