[llvm] [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 01:38:11 PDT 2025


================

----------------
lukel97 wrote:

I've moved the existing test to PhaseOrdering to show how using PGOForceFunctionAttrs also prevents unswitching this loop

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


More information about the llvm-commits mailing list