Skip to content

Commit 45ee3fc

Browse files
make pgo-branch-weights test not dependent on argument attributes
1 parent 5979b68 commit 45ee3fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/test/run-make-fulldeps/pgo-branch-weights/filecheck-patterns.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# First, establish that certain !prof labels are attached to the expected
33
# functions and branching instructions.
44

5-
CHECK: define void @function_called_twice(i32 %c) {{.*}} !prof [[function_called_twice_id:![0-9]+]] {
5+
CHECK: define void @function_called_twice(i32 {{.*}} !prof [[function_called_twice_id:![0-9]+]] {
66
CHECK: br i1 {{.*}}, label {{.*}}, label {{.*}}, !prof [[branch_weights0:![0-9]+]]
77

8-
CHECK: define void @function_called_42_times(i32 %c) {{.*}} !prof [[function_called_42_times_id:![0-9]+]] {
8+
CHECK: define void @function_called_42_times(i32{{.*}} %c) {{.*}} !prof [[function_called_42_times_id:![0-9]+]] {
99
CHECK: switch i32 %c, label {{.*}} [
1010
CHECK-NEXT: i32 97, label {{.*}}
1111
CHECK-NEXT: i32 98, label {{.*}}

0 commit comments

Comments
 (0)