summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
diff options
context:
space:
mode:
authorRong Xu <xur@google.com>2016-02-08 21:07:46 +0000
committerRong Xu <xur@google.com>2016-02-08 21:07:46 +0000
commit1288a19421232137ed288e4b9ba202f3b37b2006 (patch)
treea5c81a0b9a6c6f2ff258444f914e829610b6f3ab /llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
parent264d7e5b685a739f52e680089ba92f0129708687 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud