[llvm] [polly] [SimpleLoopUnswitch] Reland "Generalize the notion of trivial unswitching" (PR #204934)
Ehsan Amiri via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 23 08:44:02 PDT 2026
================
@@ -0,0 +1,52 @@
+; RUN: opt < %s -passes='loop-mssa(loop-rotate,simple-loop-unswitch<nontrivial;trivial>)' -verify-memoryssa -disable-output
----------------
amehsan wrote:
Changed to `-passes='loop-mssa(simple-loop-unswitch)'`
I hadn't pay attention to that, the IR is dumped inside unswitching so loop rotate should not be needed. I confirmed locally that the problem is reproducible after this change when the fix is reverted.
https://github.com/llvm/llvm-project/pull/204934
More information about the llvm-commits
mailing list