[llvm] [SimpleLoopUnswitch] Fix exponential unswitch (PR #66883)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 20 13:03:28 PDT 2023


================
@@ -3768,7 +3775,7 @@ bool SimpleLoopUnswitchLegacyPass::runOnLoop(Loop *L, LPPassManager &LPM) {
       // If the current loop has been unswitched using a partially invariant
       // condition, we should not re-add the current loop to avoid unswitching
       // on the same condition again.
----------------
fhahn wrote:

Comment above needs updating

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


More information about the llvm-commits mailing list