llvm-project/llvm/test/Transforms/PGOProfile/Inputs
Rong Xu 705f7775bb [PGO] Fix profile mismatch in COMDAT function with pre-inliner
Pre-instrumentation inline (pre-inliner) greatly improves the IR
instrumentation code performance, among other benefits. One issue of the
pre-inliner is it can introduce CFG-mismatch for COMDAT functions. This
is due to the fact that the same COMDAT function may have different early
inline decisions across different modules -- that means different copies
of COMDAT functions will have different CFG checksum.

In this patch, we propose a partially renaming the COMDAT group and its
member function/variable so we have different profile counter for each
version. We will post-fix the COMDAT function and the group name with its
FunctionHash.

Differential Revision: http://reviews.llvm.org/D22600

llvm-svn: 276673
2016-07-25 18:45:37 +00:00
..
PR28219.proftext Fix PR28219: Use profile summary from reader and not compute it 2016-06-21 19:29:49 +00:00
branch1.proftext [PGO] Differentiate Clang instrumentation and IR level instrumentation profiles 2016-02-10 17:18:30 +00:00
branch2.proftext [PGO] Differentiate Clang instrumentation and IR level instrumentation profiles 2016-02-10 17:18:30 +00:00
criticaledge.proftext [PGO] Differentiate Clang instrumentation and IR level instrumentation profiles 2016-02-10 17:18:30 +00:00
diag.proftext [PGO] Differentiate Clang instrumentation and IR level instrumentation profiles 2016-02-10 17:18:30 +00:00
diag_FE.proftext [PGO] Differentiate Clang instrumentation and IR level instrumentation profiles 2016-02-10 17:18:30 +00:00
indirect_call.proftext [PGO] Fix profile mismatch in COMDAT function with pre-inliner 2016-07-25 18:45:37 +00:00
landingpad.proftext [PGO] Differentiate Clang instrumentation and IR level instrumentation profiles 2016-02-10 17:18:30 +00:00
loop1.proftext [PGO] Differentiate Clang instrumentation and IR level instrumentation profiles 2016-02-10 17:18:30 +00:00
loop2.proftext [PGO] Differentiate Clang instrumentation and IR level instrumentation profiles 2016-02-10 17:18:30 +00:00
switch.proftext [PGO] Differentiate Clang instrumentation and IR level instrumentation profiles 2016-02-10 17:18:30 +00:00
thinlto_indirect_call_promotion.ll [ThinLTO] Perform profile-guided indirect call promotion 2016-07-17 14:47:01 +00:00