From 27c303ff00234e5ab9379878858f7ae3d0bdc2dc Mon Sep 17 00:00:00 2001 From: Richard-Qin-X Date: Wed, 26 Aug 2026 23:33:07 +0800 Subject: [GlobalISel] Run machine transformations once --- backend/include/rcc/CodeGen/GlobalISel/Legalizer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'backend/include/rcc/CodeGen/GlobalISel/Legalizer.h') diff --git a/backend/include/rcc/CodeGen/GlobalISel/Legalizer.h b/backend/include/rcc/CodeGen/GlobalISel/Legalizer.h index e90d09c..e75d71e 100644 --- a/backend/include/rcc/CodeGen/GlobalISel/Legalizer.h +++ b/backend/include/rcc/CodeGen/GlobalISel/Legalizer.h @@ -36,7 +36,8 @@ public: private: [[nodiscard]] Expected runImplementation(MachineFunction &Function, const TargetDescription &Target, - MachineActionReplay &Actions); + MachineFunctionAnalysisManager + &Analyses); std::unique_ptr OwnedInfo; const LegalizerInfo *Info = nullptr; -- cgit v1.2.3