diff options
author | Justin Bogner <mail@justinbogner.com> | 2014-11-18 23:03:14 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2014-11-18 23:03:14 +0000 |
commit | aa5bb91f5aefce4b9692a4925a23d3c738cecfb8 (patch) | |
tree | 21bd9eee12e99c1b3eb8d57a5d6fa7c4f67608a6 /compiler-rt/test/profile/instrprof-write-file-atexit-explicitly.c | |
parent | a4884fdefd11f010035ee33f7b694b5202604328 (diff) | |
download | bcm5719-llvm-aa5bb91f5aefce4b9692a4925a23d3c738cecfb8.tar.gz bcm5719-llvm-aa5bb91f5aefce4b9692a4925a23d3c738cecfb8.zip |
profile: Robustify instrprof tests
Change these tests not to rely on the exact metadata numbers the
profile data gets.
llvm-svn: 222279
Diffstat (limited to 'compiler-rt/test/profile/instrprof-write-file-atexit-explicitly.c')
-rw-r--r-- | compiler-rt/test/profile/instrprof-write-file-atexit-explicitly.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/test/profile/instrprof-write-file-atexit-explicitly.c b/compiler-rt/test/profile/instrprof-write-file-atexit-explicitly.c index 931a48b248c..ba229b9144f 100644 --- a/compiler-rt/test/profile/instrprof-write-file-atexit-explicitly.c +++ b/compiler-rt/test/profile/instrprof-write-file-atexit-explicitly.c @@ -8,10 +8,10 @@ int __llvm_profile_register_write_file_atexit(void); void __llvm_profile_set_filename(const char *); int main(int argc, const char *argv[]) { __llvm_profile_register_write_file_atexit(); - // CHECK: br i1 %{{.*}}, label %{{.*}}, label %{{.*}}, !prof !1 + // CHECK: br i1 %{{.*}}, label %{{.*}}, label %{{.*}}, !prof ![[PD1:[0-9]+]] if (argc < 2) return 1; __llvm_profile_set_filename(argv[1]); return 0; } -// CHECK: !1 = metadata !{metadata !"branch_weights", i32 1, i32 2} +// CHECK: ![[PD1]] = metadata !{metadata !"branch_weights", i32 1, i32 2} |