[llvm-branch-commits] [llvm] [SCEV] Drop samesign in getLoopInvariantPredicate (PR #236093)

Dmitry Makogon via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Oct 27 05:48:00 PDT 2026


================
@@ -78,7 +78,7 @@ exit:
   ret void
 }
 
-; %cmp can be replaced with %start samesign >u %inv.
+; TODO: %cmp can be replaced with %start samesign >u %inv.
----------------
d-makogon wrote:

So this test case regressed, but it used the wrong reasoning. To handle this one correctly, we need new rules to prove the backedge part of the transform

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


More information about the llvm-branch-commits mailing list