1 ; RUN: llc -mcpu=corei7 -mtriple=x86_64-linux -force-precise-rotation-cost < %s | FileCheck %s
4 ; Test that all edges in the loop chain are fall through with profile data.
17 %call = call zeroext i1 @a()
18 br i1 %call, label %if.then, label %latch, !prof !1
22 %call3 = call zeroext i1 @a()
23 br i1 %call3, label %latch, label %end, !prof !2
27 %call2 = call zeroext i1 @a()
28 br i1 %call2, label %header, label %end, !prof !3
34 declare zeroext i1 @a()
40 !1 = !{!"branch_weights", i32 16, i32 16}
41 !2 = !{!"branch_weights", i32 97, i32 3}
42 !3 = !{!"branch_weights", i32 97, i32 3}