[llvm] [CodeGenPrepare][NPM] Remove incorrect LoopAnalysis preservation in CodeGenPrepare (PR #172418)
Christudasan Devadasan via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 17 02:55:37 PST 2025
================
@@ -556,7 +556,6 @@ PreservedAnalyses CodeGenPreparePass::run(Function &F,
PreservedAnalyses PA;
PA.preserve<TargetLibraryAnalysis>();
PA.preserve<TargetIRAnalysis>();
- PA.preserve<LoopAnalysis>();
----------------
cdevadas wrote:
This pass doesn't preserve anything if run for the legacy pipeline. I wonder why we preserve the other analyses only for NPM?
https://github.com/llvm/llvm-project/pull/172418
More information about the llvm-commits
mailing list