aboutsummaryrefslogtreecommitdiff
path: root/backend/include/rcc/CodeGen/MachineBranchRelaxation.h
diff options
context:
space:
mode:
Diffstat (limited to 'backend/include/rcc/CodeGen/MachineBranchRelaxation.h')
-rw-r--r--backend/include/rcc/CodeGen/MachineBranchRelaxation.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/include/rcc/CodeGen/MachineBranchRelaxation.h b/backend/include/rcc/CodeGen/MachineBranchRelaxation.h
index c88c1d5..03c7fa7 100644
--- a/backend/include/rcc/CodeGen/MachineBranchRelaxation.h
+++ b/backend/include/rcc/CodeGen/MachineBranchRelaxation.h
@@ -9,7 +9,7 @@
namespace rcc {
-class TargetBranchInfo;
+class TargetInstrInfo;
struct MachineBranchRelaxationOptions final {
std::size_t ConvergenceWatchdog = 1000000;
@@ -17,7 +17,7 @@ struct MachineBranchRelaxationOptions final {
class MachineBranchRelaxationPass final : public MachineFunctionPass {
public:
- explicit MachineBranchRelaxationPass(const TargetBranchInfo &Info,
+ explicit MachineBranchRelaxationPass(const TargetInstrInfo &Info,
MachineBranchRelaxationOptions Options = {}) noexcept
: Info(&Info), Options(Options) {}
@@ -31,7 +31,7 @@ private:
const TargetDescription &Target,
MachineActionReplay &Actions) const;
- const TargetBranchInfo *Info;
+ const TargetInstrInfo *Info;
MachineBranchRelaxationOptions Options;
};