1; RUN: llc -march=mipsel -mattr=mips16 -relocation-model=pic -O3 < %s | FileCheck %s -check-prefix=16 2 3@i = global i32 5, align 4 4@j = global i32 10, align 4 5@k = global i32 5, align 4 6@result1 = global i32 0, align 4 7@result2 = global i32 1, align 4 8 9define void @test() nounwind { 10entry: 11 %0 = load i32, i32* @i, align 4 12 %1 = load i32, i32* @j, align 4 13 %cmp = icmp slt i32 %0, %1 14 br i1 %cmp, label %if.then, label %if.end 15 16; 16: slt ${{[0-9]+}}, ${{[0-9]+}} 17; 16: bteqz $[[LABEL:[0-9A-Ba-b_]+]] 18; 16: $[[LABEL]]: 19 20if.then: ; preds = %entry 21 store i32 1, i32* @result1, align 4 22 br label %if.end 23 24if.end: ; preds = %if.then, %entry 25 %2 = load i32, i32* @k, align 4 26 %cmp1 = icmp slt i32 %0, %2 27 br i1 %cmp1, label %if.then2, label %if.end3 28 29if.then2: ; preds = %if.end 30 store i32 1, i32* @result1, align 4 31 br label %if.end3 32 33if.end3: ; preds = %if.then2, %if.end 34 ret void 35} 36 37 38