1 ; RUN: llc < %s -march=mipsel | FileCheck %s -check-prefix=CHECK-MIPS32 2 3 @g1 = external global i32 4 5 define i32 @f(float %f0, float %f1) nounwind { 6 entry: 7 ; CHECK-MIPS32: c.olt.s 8 ; CHECK-MIPS32: movt 9 ; CHECK-MIPS32: c.olt.s 10 ; CHECK-MIPS32: movt 11 %cmp = fcmp olt float %f0, %f1 12 %conv = zext i1 %cmp to i32 13 %tmp2 = load i32* @g1, align 4 14 %add = add nsw i32 %tmp2, %conv 15 store i32 %add, i32* @g1, align 4 16 %cond = select i1 %cmp, i32 10, i32 20 17 ret i32 %cond 18 } 19