[llvm] [MachineLICM] Use `RegisterClassInfo::getRegPressureSetLimit` (PR #211715)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 30 03:27:45 PDT 2026


================
@@ -366,6 +370,13 @@ bool MachineLICMImpl::run(MachineFunction &MF) {
                   .getManager()
                   .getResult<AAManager>(MF.getFunction())
            : &LegacyPass->getAnalysis<AAResultsWrapperPass>().getAAResults();
+
+  RegClassInfo =
----------------
arsenm wrote:

I'd prefer having separate entry points for old and new PM, but I see this pattern is preexisting in this pass 

https://github.com/llvm/llvm-project/pull/211715


More information about the llvm-commits mailing list