summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ExecutionEngine/Orc/IndirectionUtilsTest.cpp
diff options
context:
space:
mode:
authorRong Xu <xur@google.com>2017-04-04 16:42:20 +0000
committerRong Xu <xur@google.com>2017-04-04 16:42:20 +0000
commit48596b6f7a422650987c7f2c2566917c7dfff61c (patch)
tree64be6663f30ef95bfcbab1f9d22f64184f0f2188 /llvm/unittests/ExecutionEngine/Orc/IndirectionUtilsTest.cpp
parente7cdcdea730e5edcaacb86e7feb8accbd0810d88 (diff)
downloadbcm5719-llvm-48596b6f7a422650987c7f2c2566917c7dfff61c.tar.gz
bcm5719-llvm-48596b6f7a422650987c7f2c2566917c7dfff61c.zip
[PGO] Memory intrinsic calls optimization based on profiled size
This patch optimizes two memory intrinsic operations: memset and memcpy based on the profiled size of the operation. The high level transformation is like: mem_op(..., size) ==> switch (size) { case s1: mem_op(..., s1); goto merge_bb; case s2: mem_op(..., s2); goto merge_bb; ... default: mem_op(..., size); goto merge_bb; } merge_bb: Differential Revision: http://reviews.llvm.org/D28966 llvm-svn: 299446
Diffstat (limited to 'llvm/unittests/ExecutionEngine/Orc/IndirectionUtilsTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud