jayfoad wrote: This should allow un-reverting #69703. The new test case `bug-cselect-b64.ll` would fail to compile with just #69703, but shows a slight codegen improvement when #69703 is applied on top of this patch. https://github.com/llvm/llvm-project/pull/70352