diff options
| author | Rong Xu <xur@google.com> | 2017-03-15 21:47:27 +0000 |
|---|---|---|
| committer | Rong Xu <xur@google.com> | 2017-03-15 21:47:27 +0000 |
| commit | 4ed52798ce2ca6e012aad9d382309e8e06cb6083 (patch) | |
| tree | 4913947acdc3d97a8630a4efa65c14dbc791d629 /llvm/test/Instrumentation/InstrProfiling/icall.ll | |
| parent | ce450a662e98c5a17ed2a9d0504d7b982f43f9c7 (diff) | |
| download | bcm5719-llvm-4ed52798ce2ca6e012aad9d382309e8e06cb6083.tar.gz bcm5719-llvm-4ed52798ce2ca6e012aad9d382309e8e06cb6083.zip | |
[PGO] Value profile for size of memory intrinsic calls
This patch adds the value profile support to profile the size parameter of
memory intrinsic calls: memcpy, memcmp, and memmov.
Differential Revision: http://reviews.llvm.org/D28965
llvm-svn: 297897
Diffstat (limited to 'llvm/test/Instrumentation/InstrProfiling/icall.ll')
| -rw-r--r-- | llvm/test/Instrumentation/InstrProfiling/icall.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/Instrumentation/InstrProfiling/icall.ll b/llvm/test/Instrumentation/InstrProfiling/icall.ll index 529ad9ce12f..d92de47421d 100644 --- a/llvm/test/Instrumentation/InstrProfiling/icall.ll +++ b/llvm/test/Instrumentation/InstrProfiling/icall.ll @@ -37,9 +37,9 @@ attributes #0 = { nounwind } ; DYN-NOT: @__profvp_foo ; DYN-NOT: @__llvm_prf_vnodes -; STATIC: call void @__llvm_profile_instrument_target(i64 %3, i8* bitcast ({ i64, i64, i64*, i8*, i8*, i32, [1 x i16] }* @__profd_foo to i8*), i32 0) -; STATIC-EXT: call void @__llvm_profile_instrument_target(i64 %3, i8* bitcast ({ i64, i64, i64*, i8*, i8*, i32, [1 x i16] }* @__profd_foo to i8*), i32 zeroext 0) -; STATIC-SEXT: call void @__llvm_profile_instrument_target(i64 %3, i8* bitcast ({ i64, i64, i64*, i8*, i8*, i32, [1 x i16] }* @__profd_foo to i8*), i32 signext 0) +; STATIC: call void @__llvm_profile_instrument_target(i64 %3, i8* bitcast ({ i64, i64, i64*, i8*, i8*, i32, [2 x i16] }* @__profd_foo to i8*), i32 0) +; STATIC-EXT: call void @__llvm_profile_instrument_target(i64 %3, i8* bitcast ({ i64, i64, i64*, i8*, i8*, i32, [2 x i16] }* @__profd_foo to i8*), i32 zeroext 0) +; STATIC-SEXT: call void @__llvm_profile_instrument_target(i64 %3, i8* bitcast ({ i64, i64, i64*, i8*, i8*, i32, [2 x i16] }* @__profd_foo to i8*), i32 signext 0) ; STATIC: declare void @__llvm_profile_instrument_target(i64, i8*, i32) ; STATIC-EXT: declare void @__llvm_profile_instrument_target(i64, i8*, i32 zeroext) |

