https://github.com/jayfoad commented: > Speedup select to integer min/max It's nice to use dag patterns but I kinda doubt that it is any faster in this case - or have you measured a speed up? https://github.com/llvm/llvm-project/pull/92378