diff options
author | Rong Xu <xur@google.com> | 2016-02-08 21:07:46 +0000 |
---|---|---|
committer | Rong Xu <xur@google.com> | 2016-02-08 21:07:46 +0000 |
commit | 1288a19421232137ed288e4b9ba202f3b37b2006 (patch) | |
tree | a5c81a0b9a6c6f2ff258444f914e829610b6f3ab /llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp | |
parent | 264d7e5b685a739f52e680089ba92f0129708687 (diff) | |
download | bcm5719-llvm-1288a19421232137ed288e4b9ba202f3b37b2006.tar.gz bcm5719-llvm-1288a19421232137ed288e4b9ba202f3b37b2006.zip |
[PGO] Differentiate Clang instrumentation and IR level instrumentation profiles
This patch uses one bit in profile version to differentiate Clang
instrumentation and IR level instrumentation profiles.
PGOInstrumenation generates a COMDAT variable __llvm_profile_raw_version so
that the compiler runtime can set the right profile kind.
PGOInstrumenation now checks this bit to make sure it's an IR level
instrumentation profile.
Differential Revision: http://reviews.llvm.org/D15540
llvm-svn: 260146
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp')
0 files changed, 0 insertions, 0 deletions