[llvm] [polly] [SimpleLoopUnswitch] Generalize the notion of trivial unswitching (PR #193989)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 12 09:24:42 PDT 2026


https://github.com/nikic commented:

This generally looks reasonable to me.

I was wondering if this transform continue -> break shouldn't be happening in some other pass prior to LoopUnswitch, but I think the conditions where we can apply it are basically exactly the ones where we can also unswitch the loop, so doing it here makes sense to me.

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


More information about the llvm-commits mailing list