]> granicus.if.org Git - llvm/commit
[PGO] Value profile for size of memory intrinsic calls
authorRong Xu <xur@google.com>
Fri, 17 Mar 2017 18:07:26 +0000 (18:07 +0000)
committerRong Xu <xur@google.com>
Fri, 17 Mar 2017 18:07:26 +0000 (18:07 +0000)
commit5edba1dc35ea5bdafbe9bb741f74966b4b656a2d
tree7c5e42d35abc95f0bfe6e874b484d019c340597f
parentd1a05a83f81b0f61861f3e8fd8ffe693cbd376b2
[PGO] Value profile for size of memory intrinsic calls

This patch annotates the valuesites profile to memory intrinsics.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298110 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/PGOInstrumentation.cpp
test/Transforms/PGOProfile/Inputs/memop_size_annotation.proftext [new file with mode: 0644]
test/Transforms/PGOProfile/memop_size_annotation.ll [new file with mode: 0644]