30 lines · plain
1; RUN: llc -mtriple=mipsel-elf -mattr=mips16 -relocation-model=pic -O3 < %s | FileCheck %s -check-prefix=162; RUN: llc -mtriple=mips-elf -mattr=micromips -mcpu=mips32r6 -relocation-model=pic -O3 < %s | FileCheck %s -check-prefix=MM32R63 4@i = global i32 5, align 45@j = global i32 10, align 46@k = global i32 5, align 47@result = global i32 0, align 48 9define void @test() nounwind {10entry:11 %0 = load i32, ptr @j, align 412 %1 = load i32, ptr @i, align 413 %cmp = icmp slt i32 %0, %114 br i1 %cmp, label %if.end, label %if.then15 16; 16: slt ${{[0-9]+}}, ${{[0-9]+}}17; MM32R6: slt ${{[0-9]+}}, ${{[0-9]+}}18; 16: btnez $[[LABEL:[0-9A-Ba-b_]+]]19; 16: $[[LABEL]]:20 21if.then: ; preds = %entry22 store i32 1, ptr @result, align 423 br label %if.end24 25if.end: ; preds = %entry, %if.then26 ret void27}28 29 30