[llvm] [MISched] Add templates for creating custom schedulers (PR #141935)
Min-Yih Hsu via llvm-commits
llvm-commits at lists.llvm.org
Thu May 29 10:22:57 PDT 2025
================
@@ -1375,6 +1367,41 @@ std::unique_ptr<ScheduleDAGMutation>
createCopyConstrainDAGMutation(const TargetInstrInfo *TII,
const TargetRegisterInfo *TRI);
+/// Create the standard converging machine scheduler. This will be used as the
+/// default scheduler if the target does not set a default.
+/// Adds default DAG mutations.
+template <typename Strategy = GenericScheduler>
+ScheduleDAGMILive *createGenericSchedLive(MachineSchedContext *C) {
----------------
mshockwave wrote:
by this point, should we just call this function `createScheduleMILive` or something along this line?
https://github.com/llvm/llvm-project/pull/141935
More information about the llvm-commits
mailing list