[llvm] [polly] [SimpleLoopUnswitch] Don't use BlockFrequencyInfo to skip cold loops (PR #159522)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 18 05:53:16 PDT 2025
================
@@ -2095,14 +2093,8 @@ Error PassBuilder::parseFunctionPass(FunctionPassManager &FPM,
return Err;
// Add the nested pass manager with the appropriate adaptor.
bool UseMemorySSA = (Name == "loop-mssa");
- bool UseBFI = llvm::any_of(InnerPipeline, [](auto Pipeline) {
- return Pipeline.Name.contains("simple-loop-unswitch");
- });
- bool UseBPI = llvm::any_of(InnerPipeline, [](auto Pipeline) {
- return Pipeline.Name == "loop-predication";
- });
----------------
lukel97 wrote:
Yeah, I think this change comes from the stacked PR https://github.com/llvm/llvm-project/pull/159516/files
https://github.com/llvm/llvm-project/pull/159522
More information about the llvm-commits
mailing list