summaryrefslogtreecommitdiff
path: root/test/profile
diff options
context:
space:
mode:
Diffstat (limited to 'test/profile')
-rw-r--r--test/profile/Inputs/comdat_rename_1.cc6
-rw-r--r--test/profile/Inputs/comdat_rename_2.cc2
2 files changed, 4 insertions, 4 deletions
diff --git a/test/profile/Inputs/comdat_rename_1.cc b/test/profile/Inputs/comdat_rename_1.cc
index 36f2a02fe..907b964fc 100644
--- a/test/profile/Inputs/comdat_rename_1.cc
+++ b/test/profile/Inputs/comdat_rename_1.cc
@@ -6,7 +6,7 @@
int FOO::callee() {
// CHECK-LABEL: define {{.*}}callee{{.*}}
// CHECK-NOT: br i1 {{.*}}
- // CHECK: br {{.*}}label{{.*}}, label %[[BB1:[0-9]+]], !prof ![[PD1:[0-9]+]]
+ // CHECK: br {{.*}}label{{.*}}, label %[[BB1:.*]], !prof ![[PD1:[0-9]+]]
// CHECK: ; <label>:[[BB1]]:
if (b != 0)
return a / b;
@@ -20,10 +20,10 @@ int FOO::callee() {
//
// CHECK-LABEL: define {{.*}}caller{{.*}}
// CHECK-NOT: br i1 {{.*}}
-// CHECK: br {{.*}}label{{.*}}, label %[[BB2:[0-9]+]], !prof ![[PD2:[0-9]+]]
+// CHECK: br {{.*}}label{{.*}}, label %[[BB2:.*]], !prof ![[PD2:[0-9]+]]
// CHECK: ; <label>:[[BB2]]:
// CHECK: br {{.*}}label{{.*}}, label %{{.*}}, !prof !{{.*}}
-// CHECK: br {{.*}}label %[[BB3:[0-9]+]], label %{{.*}} !prof ![[PD3:[0-9]+]]
+// CHECK: br {{.*}}label %[[BB3:.*]], label %{{.*}} !prof ![[PD3:[0-9]+]]
// CHECK: ; <label>:[[BB3]]:
//
// CHECK:![[PD1]] = !{!"branch_weights", i32 0, i32 1}
diff --git a/test/profile/Inputs/comdat_rename_2.cc b/test/profile/Inputs/comdat_rename_2.cc
index c25f3bae5..6ba92ce39 100644
--- a/test/profile/Inputs/comdat_rename_2.cc
+++ b/test/profile/Inputs/comdat_rename_2.cc
@@ -13,6 +13,6 @@ int main() {
// CHECK-LABEL: define {{.*}}caller{{.*}}
// CHECK: {{.*}} call {{.*}}
// CHECK-NOT: br i1 {{.*}}
-// CHECK: br {{.*}}label %[[BB1:[0-9]+]], label{{.*}}!prof ![[PD1:[0-9]+]]
+// CHECK: br {{.*}}label %[[BB1:.*]], label{{.*}}!prof ![[PD1:[0-9]+]]
// CHECK: ; <label>:[[BB1]]:
// CHECK:![[PD1]] = !{!"branch_weights", i32 0, i32 1}