diff options
| author | Erik Desjardins <erikdesjardins@users.noreply.github.com> | 2022-02-27 13:40:50 -0500 |
|---|---|---|
| committer | Erik Desjardins <erikdesjardins@users.noreply.github.com> | 2022-02-27 13:41:43 -0500 |
| commit | 45ee3fc700950da07e0682c6bf56b9c123fbf995 (patch) | |
| tree | f0aafb90a33c116f76ac07648979a499b8055349 | |
| parent | 5979b681e6f7cfd760f45440624f8bc1759d2071 (diff) | |
make pgo-branch-weights test not dependent on argument attributes
| -rw-r--r-- | src/test/run-make-fulldeps/pgo-branch-weights/filecheck-patterns.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-make-fulldeps/pgo-branch-weights/filecheck-patterns.txt b/src/test/run-make-fulldeps/pgo-branch-weights/filecheck-patterns.txt index 278d46d39df..70d5a645c14 100644 --- a/src/test/run-make-fulldeps/pgo-branch-weights/filecheck-patterns.txt +++ b/src/test/run-make-fulldeps/pgo-branch-weights/filecheck-patterns.txt @@ -2,10 +2,10 @@ # First, establish that certain !prof labels are attached to the expected # functions and branching instructions. -CHECK: define void @function_called_twice(i32 %c) {{.*}} !prof [[function_called_twice_id:![0-9]+]] { +CHECK: define void @function_called_twice(i32 {{.*}} !prof [[function_called_twice_id:![0-9]+]] { CHECK: br i1 {{.*}}, label {{.*}}, label {{.*}}, !prof [[branch_weights0:![0-9]+]] -CHECK: define void @function_called_42_times(i32 %c) {{.*}} !prof [[function_called_42_times_id:![0-9]+]] { +CHECK: define void @function_called_42_times(i32{{.*}} %c) {{.*}} !prof [[function_called_42_times_id:![0-9]+]] { CHECK: switch i32 %c, label {{.*}} [ CHECK-NEXT: i32 97, label {{.*}} CHECK-NEXT: i32 98, label {{.*}} |
