goldsteinn wrote: > As there is no way to remove one-use constraint in `InstCombinerImpl::foldSelectIntoOp`, should we handle this pattern in this PR? https://github.com/llvm/llvm-project/pull/84696 adds the ability to do that. https://github.com/llvm/llvm-project/pull/93591