https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112324
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- 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.