tschuett wrote: I thought that legalizing them and manually selecting them generates better code. They are kept at higher abstraction in the pass pipeline. E.g. the generic combiner sees them as selects and not as binary operations. https://github.com/llvm/llvm-project/pull/76104