Skip to content

Commit fe9a7d9

Browse files
author
Evandro Menezes
committed
[RISCV] Use the commercial name for scheduling model (NFC)
Use the commercial name for the scheduling model for the SiFive 7 Series.
1 parent cb9b984 commit fe9a7d9

File tree

3 files changed

+236
-238
lines changed

3 files changed

+236
-238
lines changed

llvm/lib/Target/RISCV/RISCV.td

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ include "RISCVCallingConv.td"
216216
include "RISCVInstrInfo.td"
217217
include "RISCVRegisterBanks.td"
218218
include "RISCVSchedRocket.td"
219-
include "RISCVSchedBullet.td"
219+
include "RISCVSchedSiFive7.td"
220220

221221
//===----------------------------------------------------------------------===//
222222
// RISC-V processors supported.
@@ -228,8 +228,8 @@ def : ProcessorModel<"generic-rv64", NoSchedModel, [Feature64Bit]>;
228228
def : ProcessorModel<"rocket-rv32", RocketModel, []>;
229229
def : ProcessorModel<"rocket-rv64", RocketModel, [Feature64Bit]>;
230230

231-
def : ProcessorModel<"sifive-7-rv32", BulletModel, []>;
232-
def : ProcessorModel<"sifive-7-rv64", BulletModel, [Feature64Bit]>;
231+
def : ProcessorModel<"sifive-7-rv32", SiFive7Model, []>;
232+
def : ProcessorModel<"sifive-7-rv64", SiFive7Model, [Feature64Bit]>;
233233

234234
def : ProcessorModel<"sifive-e31", RocketModel, [FeatureStdExtM,
235235
FeatureStdExtA,
@@ -242,17 +242,17 @@ def : ProcessorModel<"sifive-u54", RocketModel, [Feature64Bit,
242242
FeatureStdExtD,
243243
FeatureStdExtC]>;
244244

245-
def : ProcessorModel<"sifive-e76", BulletModel, [FeatureStdExtM,
246-
FeatureStdExtA,
247-
FeatureStdExtF,
248-
FeatureStdExtC]>;
249-
250-
def : ProcessorModel<"sifive-u74", BulletModel, [Feature64Bit,
251-
FeatureStdExtM,
252-
FeatureStdExtA,
253-
FeatureStdExtF,
254-
FeatureStdExtD,
255-
FeatureStdExtC]>;
245+
def : ProcessorModel<"sifive-e76", SiFive7Model, [FeatureStdExtM,
246+
FeatureStdExtA,
247+
FeatureStdExtF,
248+
FeatureStdExtC]>;
249+
250+
def : ProcessorModel<"sifive-u74", SiFive7Model, [Feature64Bit,
251+
FeatureStdExtM,
252+
FeatureStdExtA,
253+
FeatureStdExtF,
254+
FeatureStdExtD,
255+
FeatureStdExtC]>;
256256

257257
//===----------------------------------------------------------------------===//
258258
// Define the RISC-V target.

llvm/lib/Target/RISCV/RISCVSchedBullet.td

Lines changed: 0 additions & 224 deletions
This file was deleted.

0 commit comments

Comments
 (0)