1 ; RUN: llc -mtriple=i686-linux < %s | FileCheck %s
3 define i1 @block_filter() !prof !22{
4 ; CHECK-LABEL: block_filter
16 %val0 = call i1 @bar()
20 %val1 = call i1 @foo()
21 br i1 %val1, label %.bb1, label %.pred, !prof !2
24 %val11 = call i1 @foo()
25 br i1 %val11, label %.header2, label %.pred, !prof !2
28 %val2 = call i1 @foo()
29 br i1 %val2, label %.latch2, label %.cold, !prof !10
32 %val4 = call i1 @bar()
33 br i1 %val4, label %.latch2, label %.problem
36 %val5 = call i1 @foo()
37 br i1 %val5, label %.header2, label %.latch1, !prof !1
40 %valp = call i1 @foo()
44 %val3 = call i1 @foo()
48 %val6 = call i1 @foo()
49 br i1 %val6, label %.header1, label %.exit, !prof !1
52 %val7 = call i1 @foo()
59 !1 = !{!"branch_weights", i32 5, i32 5}
60 !2 = !{!"branch_weights", i32 60, i32 40}
61 !3 = !{!"branch_weights", i32 90, i32 10}
62 !10 = !{!"branch_weights", i32 90, i32 10}
64 !22 = !{!"function_entry_count", i64 100}