https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22568
--- Comment #16 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #15) > The expr.c patch yes. The tree-ssa-phiopt.c patch, no. Tree-ssa-phiopt.c > needs more code rework because of the new infrastructures so I have not > gotten around to improving the patch yet; been busy with other stuff. The patch for PR 25290 includes the most of the infrastructure to implement cmov at the gimple level (See match_simplify_replacement and late_p argument) but is not enabled because I think it might require a cost model.