For smin if either X or Y is negative, the result is non-zero.
For smax if either X or Y is strictly positive, the result is
non-zero.
For both if X != 0 and Y != 0 the result is non-zero.
Alive2 Link:
https://alive2.llvm.org/ce/z/7yvbgN https://alive2.llvm.org/ce/z/zizbvq
The formatting here is ugly enough that I'd just repeat the two lines from umin :)