[llvm] [polly] [SimpleLoopUnswitch] Don't use BlockFrequencyInfo to skip cold loops (PR #159522)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 18 07:20:41 PDT 2025


https://github.com/fhahn commented:

Overall checking for hot/cold loops in principle makes more sense to me; i.e. no point in unswitching a loop that's never executed in a hot function.

Not regressing SPEC is great, but still leaves a lot of room to regress other workloads. I don't really have any concrete suggestions at the moment; if we can't easily check for hotness of loops I guess this is fine for now and we can revisit if/when we discover regressions

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


More information about the llvm-commits mailing list