https://github.com/RKSimon commented: its often easier to maintain if you have 4 separate files for the 4 opcodes - if nothing else you can copy and then search/replace the u/s min/max intrinsic :) https://github.com/llvm/llvm-project/pull/157621