This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Account for devirtualization opportunities in inlining heuristics


Jan,

Here are the testcases for inlining improvements we've discussed on IRC a couple of days ago.

Current mainline handles inline-devirt-1.C and inline-devirt-5.C cases.  With my w-i-p patches to teach inlining heuristics about devirtualization opportunities (also attached) inline-devirt-2.C, inline-devirt-3.C are also fully optimized.

Let me know if you have suggestions for tackling the other cases.

Do you think committing the testcases mainline, XFAIL'ed as necessary, would be useful?

Thanks,

--
Maxim Kuvyrkov
CodeSourcery
+1-650-331-3385 x724

Attachment: 0005-Testcases.patch
Description: Binary data

Attachment: 0002-Refactor-ipa-cp.c-to-operate-on-type-lattices.ChangeLog
Description: Binary data

Attachment: 0002-Refactor-ipa-cp.c-to-operate-on-type-lattices.patch
Description: Binary data

Attachment: 0003-Fix-memory-leak.ChangeLog
Description: Binary data

Attachment: 0003-Fix-memory-leak.patch
Description: Binary data

Attachment: 0004-Account-for-devirtualization-in-inlining-heuristics.ChangeLog
Description: Binary data

Attachment: 0004-Account-for-devirtualization-in-inlining-heuristics.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]