https://github.com/nikic requested changes to this pull request. We currently rely on IPSCCP happening early, so it can make use of dominating conditions before they have been converted to selects. https://github.com/llvm/llvm-project/pull/96620