aboutsummaryrefslogtreecommitdiff
path: root/backend/include/rcc
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
parenta47055fe6af27de9d1ce505938e0cebbca5532ff (diff)
downloadrcc-project-a932de71457e16030d7d05e4230c56e231c7a8e9.tar.gz
rcc-project-a932de71457e16030d7d05e4230c56e231c7a8e9.tar.xz
[CodeGen] Run scheduling transformations once
Diffstat (limited to 'backend/include/rcc')
-rw-r--r--backend/include/rcc/CodeGen/MachineBlockPlacement.h2
-rw-r--r--backend/include/rcc/CodeGen/MachineBranchRelaxation.h3
2 files changed, 3 insertions, 2 deletions
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<MachinePassResult>
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<MachinePassResult> runImplementation(MachineFunction &Function,
const TargetDescription &Target,
- MachineActionReplay &Actions) const;
+ MachineFunctionAnalysisManager
+ &Analyses) const;
const TargetInstrInfo *Info;
MachineBranchRelaxationOptions Options;