1 ; RUN: llc -march=mipsel -mattr=mips16 -relocation-model=pic -O3 < %s | FileCheck %s -check-prefix=16 2 ; RUN: llc -march=mips -mcpu=mips32r6 -mattr=micromips -relocation-model=pic -O3 < %s | FileCheck %s -check-prefix=MMR6 3 4 @k = global i32 10, align 4 5 @r1 = common global i32 0, align 4 6 @r2 = common global i32 0, align 4 7 @r3 = common global i32 0, align 4 8 9 define void @test() nounwind { 10 entry: 11 %0 = load i32, i32* @k, align 4 12 %cmp = icmp sgt i32 %0, -32769 13 %conv = zext i1 %cmp to i32 14 store i32 %conv, i32* @r1, align 4 15 ; 16: slti ${{[0-9]+}}, -32768 16 ; MMR6: slt ${{[0-9]+}}, ${{[0-9]+}}, ${{[0-9]+}} 17 ; 16: move ${{[0-9]+}}, $24 18 ; 16: xor ${{[0-9]+}}, ${{[0-9]+}} 19 ret void 20 } 21