From a1e1c2d0812cd15c16cfc723bb82327e1cc25538 Mon Sep 17 00:00:00 2001 From: Richard-Qin-X Date: Wed, 19 Aug 2026 16:57:28 +0800 Subject: [CodeGen] Match LLVM PBQP allocator input contract --- backend/lib/CodeGen/RegAllocPBQP.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'backend') 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()}, .VerificationStage = PipelineStage::RegisterAllocated, }; -- cgit v1.2.3