[PATCH] D22600: [PGO] Fix profile mismatch in Comdat function with pre-inliner

David Li via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 25 10:11:15 PDT 2016


davidxl accepted this revision.
davidxl added a comment.

As a follow up, perfhaps a new internal option can be introduced to force 'privatize a comdat function': when a comdat function has module context specific profile, it is can be useful to let it have its own copy of profile counters.

lgtm


https://reviews.llvm.org/D22600





More information about the llvm-commits mailing list