https://github.com/RKSimon requested changes to this pull request. I've updated select-smin-smax.ll with fuller test coverage (including your new tests) - please can you update the patch to show the new diffs? https://github.com/llvm/llvm-project/pull/151893