https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112324
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #4) > (In reply to Andrew Pinski from comment #3) > > Note a simple patch to improve phiopt here does not improve the original > > code in openjpeg. > > > > The reason why is due to the code in phiopt here is only operates on the > > case where the phi would be the only one. In that case we also have a vop > > phi which changes which causes the code not to be done. > > But maybe ifcvt could use the same function to do the transformation before > it does the conversion ... I will try to figure that out next but I want to get this patch though.