Skip to content

Commit 9e9c9c4

Browse files
authored
[CSKY] Remove duplicate processor features in ck807e/ck807ef (#138316)
The new TableGen warning introduced in 951292b shows the following warnings: ``` warning: Processor ck807e contains duplicate feature 'edsp' warning: Processor ck807e contains duplicate feature 'dsp1e2' warning: Processor ck807e contains duplicate feature 'dspe60' warning: Processor ck807ef contains duplicate feature 'edsp' warning: Processor ck807ef contains duplicate feature 'dsp1e2' warning: Processor ck807ef contains duplicate feature 'dspe60' ```
1 parent db0a7ad commit 9e9c9c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/CSKY/CSKY.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ class CK807<string n, SchedMachineModel m, list<SubtargetFeature> f,
568568
def : CK807<"ck807", NoSchedModel, []>;
569569
def : CK807<"c807", NoSchedModel, []>;
570570
def : CK807<"r807", NoSchedModel, []>;
571-
def : CK807<"ck807e", NoSchedModel, [FeatureDSP, HasDSP1E2, HasDSPE60]>;
571+
def : CK807<"ck807e", NoSchedModel, []>;
572572
def : CK807<"ck807f", NoSchedModel,
573573
[FeatureFPUV2_SF, FeatureFPUV2_DF, FeatureFdivdu,
574574
HasFLOATE1, HasFLOAT1E2, HasFLOAT1E3, HasFLOAT3E4]>;
@@ -579,7 +579,7 @@ def : CK807<"r807f", NoSchedModel,
579579
[FeatureFPUV2_SF, FeatureFPUV2_DF, FeatureFdivdu,
580580
HasFLOATE1, HasFLOAT1E2, HasFLOAT1E3, HasFLOAT3E4]>;
581581
def : CK807<"ck807ef", NoSchedModel, [
582-
FeatureDSP, HasDSP1E2, HasDSPE60, FeatureFPUV2_SF, FeatureFPUV2_DF,
582+
FeatureFPUV2_SF, FeatureFPUV2_DF,
583583
FeatureFdivdu, HasFLOATE1, HasFLOAT1E2, HasFLOAT1E3, HasFLOAT3E4]>;
584584

585585
// CK810 series

0 commit comments

Comments
 (0)