]> git.ipfire.org Git - thirdparty/gcc.git/commit
Remove early inlining from afdo pass
authorJan Hubicka <hubicka@ucw.cz>
Wed, 25 Jun 2025 00:59:54 +0000 (02:59 +0200)
committerJan Hubicka <hubicka@ucw.cz>
Wed, 25 Jun 2025 01:00:41 +0000 (03:00 +0200)
commit3fde750a29820a1ccd6dd399bdfa0cf3d97a2c30
tree2d81550597e3c7d69fdc9807e09a10f3c4373c4b
parent3924740946592010657d53dc772be0815e314f72
Remove early inlining from afdo pass

This pass removes early-inlining from afdo pass since all inlining should now
happen from early inliner.  I tedted this on spec and there are 3 inlines
happening here which are blocked at early-inline time by hitting large function
growth limit.  We probably want to bypass that limit, I will look into that
incrementaly.

This should make the non-inlined function profile merging hopefully easier.

It may still make sense to separate afdo inliner from early inliner to solve
the non-transitivity issues which is not that hard to do with current code
orgnaization. However this should be separate IPA pass rather then another
part of afdo pass, since it can be coneptually separate.

gcc/ChangeLog:

* auto-profile.cc: Update toplevel comment.
(early_inline): Remove.
(auto_profile): Don't do early inlining.
gcc/auto-profile.cc