xbolva00 added a comment. Recent work by @lebedev.ri went opposite way; phi -> select (mainly to exploit cmov on x86) so I am wondering why should we go this way.. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D82005/new/ https://reviews.llvm.org/D82005