Fold
or(ashr(subNSW(X, V), ScalarSizeInBits - 1), V)
into
V s> X ? -1 : V
https://rise4fun.com/Alive/SBew
clamp255 as common operator for image processing, can be implemented
in a shifty way "(255 - V) >> 31 | V & 255". Fold shift into select
enables more optimization, e.g., vmin generation for ARM target.