diff options
author | Betul Buyukkurt <betulb@codeaurora.org> | 2016-03-31 18:41:34 +0000 |
---|---|---|
committer | Betul Buyukkurt <betulb@codeaurora.org> | 2016-03-31 18:41:34 +0000 |
commit | 3da993c4192c64334bf667d53b74378b369973b3 (patch) | |
tree | 4ad999ed7de6d26ab4d3d9b3b20ac83a0656fae5 /llvm/lib/Transforms/Utils/CloneModule.cpp | |
parent | e1a2e90ffadd810ef6bd580e90b42a83958dfc11 (diff) | |
download | llvm-3da993c4192c64334bf667d53b74378b369973b3.zip llvm-3da993c4192c64334bf667d53b74378b369973b3.tar.gz llvm-3da993c4192c64334bf667d53b74378b369973b3.tar.bz2 |
[PGO] Avoid instrumenting constants at value sites
Value profiling should not profile constants and/or constant
expressions when they appear as callees in call instructions.
Constant expressions form when a direct callee has bitcasts or
inttoptr(ptrtint (callee)) nests surrounding it. Value profiling
should avoid instrumenting such cases. Mostly NFC.
llvm-svn: 265037
Diffstat (limited to 'llvm/lib/Transforms/Utils/CloneModule.cpp')
0 files changed, 0 insertions, 0 deletions