[llvm] [LV] Fix strict weak ordering violation in handleUncountableEarlyExits sort (PR #181462)
Brian Cain via llvm-commits
llvm-commits at lists.llvm.org
Sat Feb 14 11:23:38 PST 2026
================
@@ -1533,3 +1533,57 @@ latch.exit:
early.exit:
ret i64 %iv
}
+
+; Single early exit going to the same block as the latch exit. This exercises
+; the sort in handleUncountableEarlyExits with Exits.size()==1.
+define i64 @single_early_exit_same_exit_as_latch() {
----------------
androm3da wrote:
yeah you're right it does. Removed, thanks.
https://github.com/llvm/llvm-project/pull/181462
More information about the llvm-commits
mailing list