aboutsummaryrefslogtreecommitdiff
path: root/backend/include/rcc/CodeGen/MachineBranchRelaxation.h
diff options
context:
space:
mode:
authorRichard-Qin-X <richard.qin.001@gmail.com>2026-08-26 23:48:41 +0800
committerRichard-Qin-X <richard.qin.001@gmail.com>2026-08-26 23:48:41 +0800
commita932de71457e16030d7d05e4230c56e231c7a8e9 (patch)
treeba12a6ec73e0cf8cb1bc469dea9ca9e04342ceb4 /backend/include/rcc/CodeGen/MachineBranchRelaxation.h
parenta47055fe6af27de9d1ce505938e0cebbca5532ff (diff)
downloadrcc-project-a932de71457e16030d7d05e4230c56e231c7a8e9.tar.gz
rcc-project-a932de71457e16030d7d05e4230c56e231c7a8e9.tar.xz
[CodeGen] Run scheduling transformations once
Diffstat (limited to 'backend/include/rcc/CodeGen/MachineBranchRelaxation.h')
-rw-r--r--backend/include/rcc/CodeGen/MachineBranchRelaxation.h3
1 files changed, 2 insertions, 1 deletions
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<MachinePassResult> runImplementation(MachineFunction &Function,
const TargetDescription &Target,
- MachineActionReplay &Actions) const;
+ MachineFunctionAnalysisManager
+ &Analyses) const;
const TargetInstrInfo *Info;
MachineBranchRelaxationOptions Options;