23 lines · plain
1; RUN: llc -mtriple=mipsel-elf -mattr=mips16 -relocation-model=pic -O3 < %s | FileCheck %s -check-prefix=162 3@i = global i32 5, align 44@result = global i32 0, align 45 6define void @test() nounwind {7entry:8 %0 = load i32, ptr @i, align 49 %cmp = icmp eq i32 %0, 1010 br i1 %cmp, label %if.end, label %if.then11; 16: cmpi ${{[0-9]+}}, {{[0-9]+}}12; 16: bteqz $[[LABEL:[0-9A-Ba-b_]+]]13; 16: $[[LABEL]]:14if.then: ; preds = %entry15 store i32 1, ptr @result, align 416 br label %if.end17 18if.end: ; preds = %entry, %if.then19 ret void20}21 22 23