https://github.com/nikic commented: Can you please add a multi-use test? I don't think we want to do this transform if the select is not one-use. Converting an or to another select is probably not profitable. https://github.com/llvm/llvm-project/pull/138373