https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70457
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Ah, but gimple_call_combined_fn already performs this. So perhaps all you need is the tree-inline.c part?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70457
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Ah, but gimple_call_combined_fn already performs this. So perhaps all you need is the tree-inline.c part?