``` define i8 @src(i8 %x, i8 %y) { %eq = icmp eq i8 %x, %y %lt = icmp ugt i8 %x, %y %sel1 = select i1 %lt, i8 1, i8 -1 %sel2 = select i1 %eq, i8 0, i8 %sel1 ret i8 %sel2 } ``` https://github.com/llvm/llvm-project/pull/107314