1 ; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
3 define void @test(i1 %cnd) !prof !{!"function_entry_count", i64 1024} {
5 ; Using the assembly comments to indicate block order..
12 br i1 undef, label %rare.1, label %preheader, !prof !{!"branch_weights", i32 0, i32 1000}
21 %iv = phi i32 [0, %preheader], [%iv.next, %backedge]
23 br i1 %cnd, label %backedge, label %rare, !prof !{!"branch_weights", i32 1000000, i32 1}
29 %iv.next = add i32 %iv, 1
30 %cmp = icmp eq i32 %iv.next, 200
31 br i1 %cmp, label %loop, label %exit, !prof !{!"branch_weights", i32 1000, i32 1}