26 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@j = global i32 10, align 45@k = global i32 5, align 46@result = global i32 0, align 47 8define void @test() nounwind {9entry:10 %0 = load i32, ptr @i, align 411 %1 = load i32, ptr @j, align 412 %cmp = icmp sgt i32 %0, %113 br i1 %cmp, label %if.end, label %if.then14; 16: slt ${{[0-9]+}}, ${{[0-9]+}}15; 16: btnez $[[LABEL:[0-9A-Ba-b_]+]]16; 16: $[[LABEL]]:17if.then: ; preds = %entry18 store i32 1, ptr @result, align 419 br label %if.end20 21if.end: ; preds = %entry, %if.then22 ret void23}24 25 26