[llvm] [RISCV] Adopt SpacemitX60's scheduling model for `-mtune=generic` (PR #167008)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 7 14:30:19 PST 2025
================
@@ -102,7 +102,12 @@ def GENERIC_RV64 : RISCVProcessorModel<"generic-rv64",
GenericTuneInfo;
// Support generic for compatibility with other targets. The triple will be used
// to change to the appropriate rv32/rv64 version.
-def GENERIC : RISCVTuneProcessorModel<"generic", NoSchedModel>, GenericTuneInfo;
+// `generic` is expected to target in-order application processors designed for
+// general-purpose computing.
+def GENERIC : RISCVTuneProcessorModel<"generic", SpacemitX60Model>,
----------------
topperc wrote:
I thought we've been saying -mtune=generic, but I think what we actually mean was no -mtune provided. Meaning default behavior.
https://github.com/llvm/llvm-project/pull/167008
More information about the llvm-commits
mailing list