1; RUN: llc -march=mipsel < %s 2 3@gf0 = external global float 4@gf1 = external global float 5@gd0 = external global double 6@gd1 = external global double 7 8define float @select_cc_f32(float %a, float %b) nounwind { 9entry: 10 store float 0.000000e+00, float* @gf0, align 4 11 store float 1.000000e+00, float* @gf1, align 4 12 %cmp = fcmp olt float %a, %b 13 %conv = zext i1 %cmp to i32 14 %conv1 = sitofp i32 %conv to float 15 ret float %conv1 16} 17 18define double @select_cc_f64(double %a, double %b) nounwind { 19entry: 20 store double 0.000000e+00, double* @gd0, align 8 21 store double 1.000000e+00, double* @gd1, align 8 22 %cmp = fcmp olt double %a, %b 23 %conv = zext i1 %cmp to i32 24 %conv1 = sitofp i32 %conv to double 25 ret double %conv1 26} 27 28