1 ; RUN: llc < %s -mtriple=arm-eabi -stop-after=tailduplication -tail-dup-size=100 \
2 ; RUN: -enable-tail-merge=false -disable-cgp | FileCheck %s
5 ; CHECK: successors: %bb.1(0x04000000), %bb.2(0x7c000000)
7 define void @test0(i32 %a, i32 %b, ptr %c, ptr %d) {
22 %test0 = icmp slt i32 %a, %b
23 br i1 %test0, label %B2, label %B3, !prof !0
29 !0 = !{!"branch_weights", i32 4, i32 124}
32 ; CHECK: successors: %bb.2(0x7c000000), %bb.1(0x04000000)
34 @g0 = common global i32 0, align 4
36 define void @test1(i32 %a, i32 %b, ptr %c, ptr %d, ptr %e) {
38 %test0 = icmp slt i32 %a, %b
39 br i1 %test0, label %B1, label %B2, !prof !1
53 !1 = !{!"branch_weights", i32 248, i32 8}