25 lines · plain
1; RUN: llc -mtriple=mipsel-elf -mattr=mips16 -relocation-model=pic -O3 < %s | FileCheck %s -check-prefix=162 3@j = global i32 0, align 44@result = global i32 0, align 45 6define void @test() nounwind {7entry:8 %0 = load i32, ptr @j, align 49 %cmp = icmp eq i32 %0, 010 br i1 %cmp, label %if.then, label %if.end, !prof !111 12; 16: bnez ${{[0-9]+}}, $[[LABEL:[0-9A-Ba-b_]+]]13; 16: lw ${{[0-9]+}}, %got(result)(${{[0-9]+}})14; 16: $[[LABEL]]:15 16if.then: ; preds = %entry17 store i32 1, ptr @result, align 418 br label %if.end19 20if.end: ; preds = %if.then, %entry21 ret void22}23 24!1 = !{!"branch_weights", i32 2, i32 1}25