[Bug ipa/68930] Aggregate replacements not applied to inline function bodies.
rguenther at suse dot de
gcc-bugzilla@gcc.gnu.org
Wed Dec 16 19:31:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68930
--- Comment #7 from rguenther at suse dot de <rguenther at suse dot de> ---
On December 16, 2015 7:28:35 PM GMT+01:00, hubicka at ucw dot cz
<gcc-bugzilla@gcc.gnu.org> wrote:
>https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68930
>
>--- Comment #6 from Jan Hubicka <hubicka at ucw dot cz> ---
>For the Martin's answer. I poked about this a bit.
>One can add call to node->get_body to the end of
>cgraph_materialize_clone which
>after removing the associated assert will call to the ipa-prop
>transform
>method. It will also call inliner's transform which will in turn
>remove the
>cgraph and break.
>
>I suppose I can fix this by making IPA transforms function speicfic
>(they
>should
>be) and making inliner to only drop its transform method on functions
>non-inline
>functions and make ipa-cp add transforms only to the clones. It should
>improve
>compile time, too.
>
>Still we will get missed optimizations, so keeping this info for GVN
>seems like
>resonable thing to do.
If the information is there in some way then I can try using it from GVN. just
tell me where it is.
More information about the Gcc-bugs
mailing list