25 lines · plain
1; RUN: llc -mtriple=mipsel-linux-gnu -mattr=mips16 -mattr=+soft-float -mips16-hard-float -relocation-model=pic -mips16-constant-islands < %s | FileCheck %s -check-prefix=cond-b-short2 3@i = global i32 0, align 44@j = common global i32 0, align 45 6; Function Attrs: nounwind optsize7define i32 @main() #0 {8entry:9 %0 = load i32, ptr @i, align 410 %cmp = icmp eq i32 %0, 011 br i1 %cmp, label %if.then, label %if.end12 13; cond-b-short: bnez ${{[0-9]+}}, $BB{{[0-9]+}}_{{[0-9]+}} # 16 bit inst14if.then: ; preds = %entry15 store i32 10, ptr @j, align 416 br label %if.end17 18if.end: ; preds = %if.then, %entry19 ret i32 020}21 22attributes #0 = { nounwind optsize "less-precise-fpmad"="false" "frame-pointer"="none" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "use-soft-float"="true" }23 24 25