tschuett wrote: 1. Feel free to extend https://github.com/llvm/llvm-project/issues/92309 2. We combine select(cmp) into min/max. 3. We combine select into binary operators. https://github.com/llvm/llvm-project/pull/97194