summaryrefslogtreecommitdiffstats
path: root/clang/test/Profile/c-indirect-call.c
diff options
context:
space:
mode:
authorXinliang David Li <davidxl@google.com>2016-01-28 18:25:53 +0000
committerXinliang David Li <davidxl@google.com>2016-01-28 18:25:53 +0000
commit3106d9a1227e3271e12e44394e83132dc55b0f56 (patch)
treec7e3cf6d75cf2b09915497b81c413fe6b5d4c077 /clang/test/Profile/c-indirect-call.c
parent4543ff09a2ebece3ef95f94182b9a8dc750998ae (diff)
downloadbcm5719-llvm-3106d9a1227e3271e12e44394e83132dc55b0f56.tar.gz
bcm5719-llvm-3106d9a1227e3271e12e44394e83132dc55b0f56.zip
[PGO] test case cleanups
1. Make test case more focused and robust by focusing on what to be tested (linkage, icall) -- make it easier to validate 2. Testing linkages of data and counter variables instead of names. Counters and data are more relavant to be tested. llvm-svn: 259067
Diffstat (limited to 'clang/test/Profile/c-indirect-call.c')
-rw-r--r--clang/test/Profile/c-indirect-call.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Profile/c-indirect-call.c b/clang/test/Profile/c-indirect-call.c
index 0d8f3babdbd..d73d09a9a16 100644
--- a/clang/test/Profile/c-indirect-call.c
+++ b/clang/test/Profile/c-indirect-call.c
@@ -7,7 +7,7 @@ int main(void) {
// CHECK: [[REG1:%[0-9]+]] = load void ()*, void ()** @foo, align 8
// CHECK-NEXT: call void [[REG1]]()
// CHECK-NEXT: [[REG2:%[0-9]+]] = ptrtoint void ()* [[REG1]] to i64
-// CHECK-NEXT: call void @__llvm_profile_instrument_target(i64 [[REG2]], i8* bitcast ({ i32, i32, i64, i8*, i64*, i8*, i8*, [1 x i16] }* @__profd_main to i8*), i32 0)
+// CHECK-NEXT: call void @__llvm_profile_instrument_target(i64 [[REG2]], i8* bitcast ({{.*}}* @__profd_main to i8*), i32 0)
foo();
return 0;
}
OpenPOWER on IntegriCloud