aboutsummaryrefslogtreecommitdiff
path: root/backend/lib
diff options
context:
space:
mode:
authorRichard-Qin-X <richard.qin.001@gmail.com>2026-08-19 17:07:04 +0800
committerRichard-Qin-X <richard.qin.001@gmail.com>2026-08-19 17:07:04 +0800
commit8e06fcacc249393b9b660d77e57283502606f90f (patch)
treef0df26a137cc6a00219d7490d885ed8cf499436b /backend/lib
parent0dc0cea4990d6ae69cfae9b86ddc0ab4db353148 (diff)
downloadrcc-project-8e06fcacc249393b9b660d77e57283502606f90f.tar.gz
rcc-project-8e06fcacc249393b9b660d77e57283502606f90f.tar.xz
[CodeGen] Match LLVM post-RA sink contract
Diffstat (limited to 'backend/lib')
-rw-r--r--backend/lib/CodeGen/MachineSink.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/backend/lib/CodeGen/MachineSink.cpp b/backend/lib/CodeGen/MachineSink.cpp
index bfe7cc9..7840115 100644
--- a/backend/lib/CodeGen/MachineSink.cpp
+++ b/backend/lib/CodeGen/MachineSink.cpp
@@ -45,9 +45,7 @@ namespace {
static const MachinePassContract PostRA = [] {
MachinePassContract Value{
.Name = "post-ra-machine-sink",
- .Requires = {MachineFunctionProperty::Selected, MachineFunctionProperty::NoPHIs,
- MachineFunctionProperty::TiedOpsRewritten, MachineFunctionProperty::NoVRegs,
- MachineFunctionProperty::TracksLiveness},
+ .Requires = {MachineFunctionProperty::NoVRegs},
.Sets = {},
.Clears = {},
.RequiredAnalyses = {MachineFunctionAnalysisManager::id<MachineDominatorTreeAnalysis>(),