================ @@ -341,6 +341,271 @@ end: ret i32 0 } +; Test from PR75155 +define i32 @simplify_slt_smax_val(i32 %a, i32 %b) { ---------------- fhahn wrote: Fair enough, would probably be worth changing the whole file separately. https://github.com/llvm/llvm-project/pull/75306