Skip to content

Commit 74593f6

Browse files
authored
[RISCV][NFC] Remove duplicate extensions from tt-ascalon-d8 CPU (#137865)
Sscofpmf is already in RVA23S64 and Zicsr is in RVA20U64. I also added a check against Sscofpmf. NFC.
1 parent fff622f commit 74593f6

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

clang/test/Driver/riscv-cpus.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@
251251
// MCPU-TT-ASCALON-D8-SAME: "-target-feature" "+zvl256b"
252252
// MCPU-TT-ASCALON-D8-SAME: "-target-feature" "+zvl32b"
253253
// MCPU-TT-ASCALON-D8-SAME: "-target-feature" "+zvl64b"
254+
// MCPU-TT-ASCALON-D8-SAME: "-target-feature" "+sscofpmf"
254255
// MCPU-TT-ASCALON-D8-SAME: "-target-feature" "+svinval"
255256
// MCPU-TT-ASCALON-D8-SAME: "-target-feature" "+svnapot"
256257
// MCPU-TT-ASCALON-D8-SAME: "-target-feature" "+svpbmt"

llvm/lib/Target/RISCV/RISCVProcessors.td

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,11 +480,9 @@ def TENSTORRENT_ASCALON_D8 : RISCVProcessorModel<"tt-ascalon-d8",
480480
!listconcat(RVA23S64Features,
481481
[FeatureStdExtSmaia,
482482
FeatureStdExtSsaia,
483-
FeatureStdExtSscofpmf,
484483
FeatureStdExtSsstrict,
485484
FeatureStdExtZfbfmin,
486485
FeatureStdExtZfh,
487-
FeatureStdExtZicsr,
488486
FeatureStdExtZvbc,
489487
FeatureStdExtZvfbfmin,
490488
FeatureStdExtZvfbfwma,

0 commit comments

Comments
 (0)