This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ipa/85103] [8 Regression] Performance regressions on SPEC with r257582
- From: "pthaugen at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 10 Apr 2018 17:49:23 +0000
- Subject: [Bug ipa/85103] [8 Regression] Performance regressions on SPEC with r257582
- Auto-submitted: auto-generated
- References: <bug-85103-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85103
--- Comment #5 from Pat Haugen <pthaugen at gcc dot gnu.org> ---
A little more detail. 48t.fnsplit splits mainGtU() into 2 functions:
mainGtU(): which contains a few early exit tests and then a call to
mainGtU.part.0()
mainGtU.part.0(): contains the remainder of mainGtU(), including the loop
Following is then the behavior in 79i.inline:
r257581: The 3 mainGtU() calls are inlined into their caller mainSimpleSort(),
and the mainGtU.part.0() calls remain.
r257582: mainGtU.part.0() is inlined back into mainGtU(), the first mainGtU()
call in mainSimpleSort() is inlined but the remaining 2 mainGtU() calls remain.