From a932de71457e16030d7d05e4230c56e231c7a8e9 Mon Sep 17 00:00:00 2001 From: Richard-Qin-X Date: Wed, 26 Aug 2026 23:48:41 +0800 Subject: [CodeGen] Run scheduling transformations once --- backend/include/rcc/CodeGen/MachineBlockPlacement.h | 2 +- backend/include/rcc/CodeGen/MachineBranchRelaxation.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'backend/include/rcc/CodeGen') diff --git a/backend/include/rcc/CodeGen/MachineBlockPlacement.h b/backend/include/rcc/CodeGen/MachineBlockPlacement.h index 41d5f2d..557855a 100644 --- a/backend/include/rcc/CodeGen/MachineBlockPlacement.h +++ b/backend/include/rcc/CodeGen/MachineBlockPlacement.h @@ -17,7 +17,7 @@ public: private: [[nodiscard]] Expected runImplementation(MachineFunction &Function, const TargetDescription &Target, - MachineFunctionAnalysisManager &Analyses, MachineActionReplay &Actions) const; + MachineFunctionAnalysisManager &Analyses) const; }; } // namespace rcc diff --git a/backend/include/rcc/CodeGen/MachineBranchRelaxation.h b/backend/include/rcc/CodeGen/MachineBranchRelaxation.h index 5b359b4..db3d03f 100644 --- a/backend/include/rcc/CodeGen/MachineBranchRelaxation.h +++ b/backend/include/rcc/CodeGen/MachineBranchRelaxation.h @@ -29,7 +29,8 @@ public: private: [[nodiscard]] Expected runImplementation(MachineFunction &Function, const TargetDescription &Target, - MachineActionReplay &Actions) const; + MachineFunctionAnalysisManager + &Analyses) const; const TargetInstrInfo *Info; MachineBranchRelaxationOptions Options; -- cgit v1.2.3