Update lib/profile tests for metadata assembly change

Running the upgrade script from PR21532.  Hopefully this will unstick
compiler-rt bots [1] after r224257.

[1]: http://lab.llvm.org:8080/green/job/clang-stage1-cmake-RA_check/181/

llvm-svn: 224276
This commit is contained in:
Duncan P. N. Exon Smith 2014-12-15 21:34:19 +00:00
parent a6a1d5a623
commit 4a7fddca0d
7 changed files with 9 additions and 9 deletions

View File

@ -27,5 +27,5 @@ int main(int argc, const char *argv[]) {
return 1;
}
// CHECK: ![[PD1]] = metadata !{metadata !"branch_weights", i32 1, i32 2}
// CHECK: ![[PD2]] = metadata !{metadata !"branch_weights", i32 2, i32 1}
// CHECK: ![[PD1]] = !{!"branch_weights", i32 1, i32 2}
// CHECK: ![[PD2]] = !{!"branch_weights", i32 2, i32 1}

View File

@ -16,4 +16,4 @@ void foo(int N) {
// CHECK: br i1 %{{.*}}, label %{{.*}}, label %{{.*}}, !prof ![[FOO:[0-9]+]]
if (N) {}
}
// CHECK: ![[FOO]] = metadata !{metadata !"branch_weights", i32 2, i32 1}
// CHECK: ![[FOO]] = !{!"branch_weights", i32 2, i32 1}

View File

@ -11,4 +11,4 @@ int main(int argc, const char *argv[]) {
__llvm_profile_set_filename(argv[1]);
return 0;
}
// CHECK: ![[PD1]] = metadata !{metadata !"branch_weights", i32 1, i32 2}
// CHECK: ![[PD1]] = !{!"branch_weights", i32 1, i32 2}

View File

@ -46,7 +46,7 @@ int main(int argc, const char *argv[]) {
return fclose(File);
#endif
}
// CHECK: ![[PD1]] = metadata !{metadata !"branch_weights", i32 1, i32 2}
// CHECK: ![[PD1]] = !{!"branch_weights", i32 1, i32 2}
// CHECK-SYMBOLS-NOT: ___cxx_global_var_init
// CHECK-SYMBOLS-NOT: ___llvm_profile_register_write_file_atexit

View File

@ -14,4 +14,4 @@ int main(int argc, const char *argv[]) {
__llvm_profile_set_filename(argv[1]);
return 0;
}
// CHECK: ![[PD1]] = metadata !{metadata !"branch_weights", i32 1, i32 2}
// CHECK: ![[PD1]] = !{!"branch_weights", i32 1, i32 2}

View File

@ -32,4 +32,4 @@ int foo(int X) {
// CHECK: br i1 %{{.*}}, label %{{.*}}, label %{{[^,]+$}}
return X <= 0 ? -X : X;
}
// CHECK: ![[PD1]] = metadata !{metadata !"branch_weights", i32 1, i32 2}
// CHECK: ![[PD1]] = !{!"branch_weights", i32 1, i32 2}

View File

@ -30,5 +30,5 @@ int foo(int X) {
// CHECK2: br i1 %{{.*}}, label %{{.*}}, label %{{.*}}, !prof ![[PD2:[0-9]+]]
return X <= 0 ? -X : X;
}
// CHECK: ![[PD1]] = metadata !{metadata !"branch_weights", i32 1, i32 2}
// CHECK2: ![[PD2]] = metadata !{metadata !"branch_weights", i32 2, i32 1}
// CHECK: ![[PD1]] = !{!"branch_weights", i32 1, i32 2}
// CHECK2: ![[PD2]] = !{!"branch_weights", i32 2, i32 1}