Skip to content

Commit c6b18cf

Browse files
committed
[RISCV] Use the extensions in the canonical order (NFC)
Use the ISA extensions for specific processors in the conventional canonical order.
1 parent d04775e commit c6b18cf

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

llvm/lib/Target/RISCV/RISCV.td

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -231,16 +231,16 @@ def : ProcessorModel<"rocket-rv64", RocketModel, [Feature64Bit]>;
231231
def : ProcessorModel<"bullet-rv32", BulletModel, []>;
232232
def : ProcessorModel<"bullet-rv64", BulletModel, [Feature64Bit]>;
233233

234-
def : ProcessorModel<"sifive-e31", RocketModel, [FeatureStdExtA,
235-
FeatureStdExtC,
236-
FeatureStdExtM]>;
234+
def : ProcessorModel<"sifive-e31", RocketModel, [FeatureStdExtM,
235+
FeatureStdExtA,
236+
FeatureStdExtC]>;
237237

238238
def : ProcessorModel<"sifive-u54", RocketModel, [Feature64Bit,
239+
FeatureStdExtM,
240+
FeatureStdExtF,
239241
FeatureStdExtA,
240-
FeatureStdExtC,
241242
FeatureStdExtD,
242-
FeatureStdExtF,
243-
FeatureStdExtM]>;
243+
FeatureStdExtC]>;
244244

245245
//===----------------------------------------------------------------------===//
246246
// Define the RISC-V target.

0 commit comments

Comments
 (0)