Skip to content

Commit f447cf1

Browse files
authored
[CSKY] Fix some typos in CPU feature descriptions (NFC) (#105774)
In Zig, we have a tool that updates our CPU model/feature data from LLVM's. Noticed these typos when running it for LLVM 19. Note: I don't have commit access.
1 parent 0fb76ba commit f447cf1

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

llvm/lib/Target/CSKY/CSKY.td

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -97,28 +97,28 @@ def iHasFLOAT7E60 : Predicate<"Subtarget->hasFLOAT7E60()">,
9797
"Support CSKY float7e60 instructions">;
9898

9999
def FeatureHWDiv : SubtargetFeature<"hwdiv", "HasHardwareDivide", "true",
100-
"Enable divide instrutions">;
100+
"Enable divide instructions">;
101101
def HasHWDiv : Predicate<"Subtarget->hasHardwareDivide()">,
102102
AssemblerPredicate<(all_of FeatureHWDiv),
103-
"Enable divide instrutions">;
103+
"Enable divide instructions">;
104104

105105
def FeatureSTM : SubtargetFeature<"multiple_stld", "HasSTM", "true",
106-
"Enable multiple load/store instrutions">;
106+
"Enable multiple load/store instructions">;
107107
def HasSTM : Predicate<"Subtarget->hasSTM()">,
108108
AssemblerPredicate<(all_of FeatureSTM),
109-
"Enable multiple load/store instrutions">;
109+
"Enable multiple load/store instructions">;
110110

111111
def FeaturePushPop : SubtargetFeature<"pushpop", "HasPushPop", "true",
112-
"Enable push/pop instrutions">;
112+
"Enable push/pop instructions">;
113113
def HasPushPop : Predicate<"Subtarget->hasPushPop()">,
114114
AssemblerPredicate<(all_of FeaturePushPop),
115-
"Enable push/pop instrutions">;
115+
"Enable push/pop instructions">;
116116

117117
def FeatureDSP
118-
: SubtargetFeature<"edsp", "HasDSP", "true", "Enable DSP instrutions">;
118+
: SubtargetFeature<"edsp", "HasDSP", "true", "Enable DSP instructions">;
119119
def HasDSP : Predicate<"Subtarget->hasDSP()">,
120120
AssemblerPredicate<(all_of FeatureDSP),
121-
"Enable DSP instrutions">;
121+
"Enable DSP instructions">;
122122

123123
def 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

135135
def FeatureDSPV2 : SubtargetFeature<"dspv2", "HasDSPV2", "true",
136-
"Enable DSP V2.0 instrutions">;
136+
"Enable DSP V2.0 instructions">;
137137
def HasDSPV2 : Predicate<"Subtarget->hasDSPV2()">,
138138
AssemblerPredicate<(all_of FeatureDSPV2),
139-
"Enable DSP V2.0 instrutions">;
139+
"Enable DSP V2.0 instructions">;
140140

141141
def FeatureDSP_Silan : SubtargetFeature<"dsp_silan", "HasDSP_Silan", "true",
142-
"Enable DSP Silan instrutions">;
142+
"Enable DSP Silan instructions">;
143143
def 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
148148
def FeatureBTST16 : SubtargetFeature<"btst16", "HasBTST16", "true",
@@ -232,11 +232,11 @@ def FeatureSoftTP : SubtargetFeature<"soft-tp", "ReadTPHard", "false",
232232
"Disable TLS Pointer register">;
233233

234234
def FeatureIstack : SubtargetFeature<"istack", "EnableInterruptAttribute",
235-
"true", "Enable interrput attribute">;
235+
"true", "Enable interrupt attribute">;
236236
def EnableInterruptAttribute
237237
: Predicate<"Subtarget->enableInterruptAttribute()">,
238238
AssemblerPredicate<(all_of FeatureIstack),
239-
"Enable interrput attribute">;
239+
"Enable interrupt attribute">;
240240

241241
def FeatureConstPool : SubtargetFeature<"constpool", "DumpConstPool", "true",
242242
"Dump the constant pool by compiler">;

0 commit comments

Comments
 (0)