aboutsummaryrefslogtreecommitdiff
path: root/backend/unittests/CodeGen/LiveRegMatrixTest.cpp
diff options
context:
space:
mode:
authorRichard-Qin-X <richard.qin.001@gmail.com>2026-08-13 05:45:37 +0800
committerRichard-Qin-X <richard.qin.001@gmail.com>2026-08-13 05:45:37 +0800
commit236082a0fe4dcd0362c5c74923a93e3db6a01291 (patch)
tree5d8a329ca526b087b6ce51895b5135997e8e03bd /backend/unittests/CodeGen/LiveRegMatrixTest.cpp
parenta2f8d7c5e22b510965327383410bd576f7cf28e7 (diff)
downloadrcc-project-236082a0fe4dcd0362c5c74923a93e3db6a01291.tar.gz
rcc-project-236082a0fe4dcd0362c5c74923a93e3db6a01291.tar.xz
[CodeGen] Align pass manager ownership
Diffstat (limited to 'backend/unittests/CodeGen/LiveRegMatrixTest.cpp')
-rw-r--r--backend/unittests/CodeGen/LiveRegMatrixTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/unittests/CodeGen/LiveRegMatrixTest.cpp b/backend/unittests/CodeGen/LiveRegMatrixTest.cpp
index 21c0778..423da50 100644
--- a/backend/unittests/CodeGen/LiveRegMatrixTest.cpp
+++ b/backend/unittests/CodeGen/LiveRegMatrixTest.cpp
@@ -26,7 +26,7 @@ void testLaneAndAssignment(TestContext &Context, const TargetDescription &Target
!buildUse(*Fixture->Function, Target, *Fixture->Block, *Low, TestSubReg::Low32))
return;
- MachineAnalysisManager Analyses;
+ MachineFunctionAnalysisManager Analyses;
if (!registerStage11MachineAnalyses(Analyses))
return;
auto Intervals = Analyses.getResult<LiveIntervalsAnalysis>(*Fixture->Function, Target);
@@ -55,7 +55,7 @@ void testFixedAndMaskInterference(TestContext &Context, const TargetDescription
!buildUse(*Fixture->Function, Target, *Fixture->Block, *Value))
return;
- MachineAnalysisManager Analyses;
+ MachineFunctionAnalysisManager Analyses;
if (!registerStage11MachineAnalyses(Analyses))
return;
auto Intervals = Analyses.getResult<LiveIntervalsAnalysis>(*Fixture->Function, Target);