aboutsummaryrefslogtreecommitdiff
path: root/backend/lib/CodeGen/RegAllocBase.h
diff options
context:
space:
mode:
authorRichard-Qin-X <richard.qin.001@gmail.com>2026-08-26 23:43:44 +0800
committerRichard-Qin-X <richard.qin.001@gmail.com>2026-08-26 23:43:44 +0800
commita47055fe6af27de9d1ce505938e0cebbca5532ff (patch)
tree2de32b198f57408e52e7a226a548e54e418b512c /backend/lib/CodeGen/RegAllocBase.h
parent35f4e0a3aa03dfae06b5c9f226e38e609de2eef5 (diff)
downloadrcc-project-a47055fe6af27de9d1ce505938e0cebbca5532ff.tar.gz
rcc-project-a47055fe6af27de9d1ce505938e0cebbca5532ff.tar.xz
[CodeGen] Remove transactional register allocation
Diffstat (limited to 'backend/lib/CodeGen/RegAllocBase.h')
-rw-r--r--backend/lib/CodeGen/RegAllocBase.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/backend/lib/CodeGen/RegAllocBase.h b/backend/lib/CodeGen/RegAllocBase.h
index 8b09081..fd1c739 100644
--- a/backend/lib/CodeGen/RegAllocBase.h
+++ b/backend/lib/CodeGen/RegAllocBase.h
@@ -28,10 +28,10 @@ public:
protected:
RegAllocBase(MachineFunction &Function, const TargetDescription &Target,
const TargetRegisterAllocationInfo &TargetInfo,
- MachineFunctionAnalysisManager &Analyses, RegisterAllocationOptions Options,
- MachineActionReplay *Actions = nullptr) noexcept
+ MachineFunctionAnalysisManager &Analyses,
+ RegisterAllocationOptions Options) noexcept
: Function(Function), Target(Target), TargetInfo(TargetInfo), Analyses(Analyses),
- Options(Options), Actions(Actions) {}
+ Options(Options) {}
[[nodiscard]] virtual Expected<AllocationRoundResult>
allocateRound(const LiveIntervalsAnalysis::Result &Intervals, VirtRegMap &Mapping) = 0;
@@ -41,7 +41,6 @@ protected:
const TargetRegisterAllocationInfo &TargetInfo;
MachineFunctionAnalysisManager &Analyses;
RegisterAllocationOptions Options;
- MachineActionReplay *Actions = nullptr;
};
[[nodiscard]] std::vector<const LiveInterval *>