https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90811
--- Comment #22 from Jakub Jelinek <jakub at gcc dot gnu.org> --- For offloading it is very harmful. Which is why I'd strongly prefer to do it after IPA, on the other side doing it at expansion time is too late.