1 ; RUN: llc < %s -march=arm -print-machineinstrs=tailduplication -tail-dup-size=100 -enable-tail-merge=false -disable-cgp -o /dev/null 2>&1 | FileCheck %s
3 ; CHECK: Machine code for function test0:
4 ; CHECK: Successors according to CFG: BB#1(4) BB#2(124)
6 define void @test0(i32 %a, i32 %b, i32* %c, i32* %d) {
21 %test0 = icmp slt i32 %a, %b
22 br i1 %test0, label %B2, label %B3, !prof !0
28 !0 = metadata !{metadata !"branch_weights", i32 4, i32 124}
30 ; CHECK: Machine code for function test1:
31 ; CHECK: Successors according to CFG: BB#1(8) BB#2(248)
33 @g0 = common global i32 0, align 4
35 define void @test1(i32 %a, i32 %b, i32* %c, i32* %d, i32* %e) {
37 %test0 = icmp slt i32 %a, %b
38 br i1 %test0, label %B1, label %B2, !prof !1
52 !1 = metadata !{metadata !"branch_weights", i32 248, i32 8}