vg0204 wrote: > Would be nice if we could succinctly handle both cases in the same combine. Can be done, but just followed the format by which other select with constants combine had been handled in such scenarios! https://github.com/llvm/llvm-project/pull/121088