1 ; RUN: llc -mtriple=arm-eabi -print-machineinstrs=tailduplication -tail-dup-size=100 \
2 ; RUN: -enable-tail-merge=false -disable-cgp %s -o /dev/null 2>&1 \
5 ; CHECK: Machine code for function test0:
6 ; CHECK: successors: %bb.1(0x04000000), %bb.2(0x7c000000)
8 define void @test0(i32 %a, i32 %b, i32* %c, i32* %d) {
23 %test0 = icmp slt i32 %a, %b
24 br i1 %test0, label %B2, label %B3, !prof !0
30 !0 = !{!"branch_weights", i32 4, i32 124}
32 ; CHECK: Machine code for function test1:
33 ; CHECK: successors: %bb.2(0x7c000000), %bb.1(0x04000000)
35 @g0 = common global i32 0, align 4
37 define void @test1(i32 %a, i32 %b, i32* %c, i32* %d, i32* %e) {
39 %test0 = icmp slt i32 %a, %b
40 br i1 %test0, label %B1, label %B2, !prof !1
54 !1 = !{!"branch_weights", i32 248, i32 8}