aboutsummaryrefslogtreecommitdiff
path: root/backend/lib
diff options
context:
space:
mode:
authorRichard-Qin-X <richard.qin.001@gmail.com>2026-08-19 16:57:28 +0800
committerRichard-Qin-X <richard.qin.001@gmail.com>2026-08-19 16:57:28 +0800
commita1e1c2d0812cd15c16cfc723bb82327e1cc25538 (patch)
tree43ee110d8f46a09e44cc3438d5fbe7144fbda6e7 /backend/lib
parent71b38f6cede5df1651d3d7cb945352fb84d61626 (diff)
downloadrcc-project-a1e1c2d0812cd15c16cfc723bb82327e1cc25538.tar.gz
rcc-project-a1e1c2d0812cd15c16cfc723bb82327e1cc25538.tar.xz
[CodeGen] Match LLVM PBQP allocator input contract
Diffstat (limited to 'backend/lib')
-rw-r--r--backend/lib/CodeGen/RegAllocPBQP.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/backend/lib/CodeGen/RegAllocPBQP.cpp b/backend/lib/CodeGen/RegAllocPBQP.cpp
index 758f756..25fc596 100644
--- a/backend/lib/CodeGen/RegAllocPBQP.cpp
+++ b/backend/lib/CodeGen/RegAllocPBQP.cpp
@@ -272,11 +272,9 @@ private:
static const MachinePassContract Contract = [] {
MachinePassContract Value{
.Name = "PBQPAllocator",
- .Requires = {MachineFunctionProperty::Selected, MachineFunctionProperty::NoPHIs,
- MachineFunctionProperty::TiedOpsRewritten,
- MachineFunctionProperty::TracksLiveness},
+ .Requires = {MachineFunctionProperty::NoPHIs},
.Sets = {MachineFunctionProperty::NoVRegs},
- .Clears = {},
+ .Clears = {MachineFunctionProperty::IsSSA},
.RequiredAnalyses = {MachineFunctionAnalysisManager::id<LiveIntervalsAnalysis>()},
.VerificationStage = PipelineStage::RegisterAllocated,
};