[llvm] [LV] Fix strict weak ordering violation in handleUncountableEarlyExits sort (PR #181462)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 13 22:52:14 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() {
----------------
lukel97 wrote:
I think this test is already covered in `single_early_exit.ll`, does the crash reproduce there?
https://github.com/llvm/llvm-project/pull/181462
More information about the llvm-commits
mailing list