diff options
| author | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-13 05:45:37 +0800 |
|---|---|---|
| committer | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-13 05:45:37 +0800 |
| commit | 236082a0fe4dcd0362c5c74923a93e3db6a01291 (patch) | |
| tree | 5d8a329ca526b087b6ce51895b5135997e8e03bd /backend/unittests/CodeGen/LiveIntervalsTest.cpp | |
| parent | a2f8d7c5e22b510965327383410bd576f7cf28e7 (diff) | |
| download | rcc-project-236082a0fe4dcd0362c5c74923a93e3db6a01291.tar.gz rcc-project-236082a0fe4dcd0362c5c74923a93e3db6a01291.tar.xz | |
[CodeGen] Align pass manager ownership
Diffstat (limited to 'backend/unittests/CodeGen/LiveIntervalsTest.cpp')
| -rw-r--r-- | backend/unittests/CodeGen/LiveIntervalsTest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/backend/unittests/CodeGen/LiveIntervalsTest.cpp b/backend/unittests/CodeGen/LiveIntervalsTest.cpp index 5c127a2..a080e4d 100644 --- a/backend/unittests/CodeGen/LiveIntervalsTest.cpp +++ b/backend/unittests/CodeGen/LiveIntervalsTest.cpp @@ -64,7 +64,7 @@ void testCFGAndValueNumbers(TestContext &Context, const rcc::TargetDescription & return; } - rcc::MachineAnalysisManager Analyses; + rcc::MachineFunctionAnalysisManager Analyses; auto Registered = rcc::registerStage11MachineAnalyses(Analyses); auto Variables = Registered ? Analyses.getResult<rcc::LiveVariablesAnalysis>(Function, Target) : rcc::Expected<rcc::LiveVariablesAnalysis::Result *>{ @@ -133,7 +133,7 @@ void testPhysicalUnitsAndRegMasks(TestContext &Context, const rcc::TargetDescrip Context.expect(false, "physical-alias instructions must be built"); return; } - rcc::MachineAnalysisManager AliasAnalyses; + rcc::MachineFunctionAnalysisManager AliasAnalyses; auto AliasRegistered = rcc::registerStage11MachineAnalyses(AliasAnalyses); auto AliasIntervals = AliasRegistered @@ -167,7 +167,7 @@ void testPhysicalUnitsAndRegMasks(TestContext &Context, const rcc::TargetDescrip Context.expect(false, "RegMask instructions must be built"); return; } - rcc::MachineAnalysisManager MaskAnalyses; + rcc::MachineFunctionAnalysisManager MaskAnalyses; auto MaskRegistered = rcc::registerStage11MachineAnalyses(MaskAnalyses); auto MaskIntervals = MaskRegistered @@ -237,7 +237,7 @@ void testRISCVLiveness(TestContext &Context) { Context.expect(false, "RV64GC ADDI instructions must be built"); return; } - rcc::MachineAnalysisManager Analyses; + rcc::MachineFunctionAnalysisManager Analyses; auto Registered = rcc::registerStage11MachineAnalyses(Analyses); auto Intervals = Registered ? Analyses.getResult<rcc::LiveIntervalsAnalysis>(*Fixture->Function, *Target) |
