44 lines · plain
1; RUN: llc < %s -mtriple=x86_64-apple-darwin102; rdar://90450243; PR93054 5define void @calc_gb_rad_still_sse2_double() nounwind ssp {6entry:7 br label %for.cond.outer8 9for.cond.outer: ; preds = %if.end71, %entry10 %theta.0.ph = phi <2 x double> [ undef, %entry ], [ %theta.1, %if.end71 ]11 %mul.i97 = fmul <2 x double> %theta.0.ph, undef12 %fmul = fmul <2 x double> <double 2.000000e+00, double 2.000000e+00>, undef13 %mul.i96 = fmul <2 x double> %mul.i97, %fmul14 br i1 undef, label %for.body, label %for.end8215 16for.body: ; preds = %for.cond.outer17 br i1 undef, label %for.body33.lr.ph, label %for.end18 19for.body33.lr.ph: ; preds = %for.body20 %dccf.2 = select i1 undef, <2 x double> %mul.i96, <2 x double> undef21 unreachable22 23for.end: ; preds = %for.body24 %vecins.i94 = insertelement <2 x double> undef, double 0.000000e+00, i32 025 %cmpsd.i = tail call <2 x double> @llvm.x86.sse2.cmp.sd(<2 x double> %vecins.i94, <2 x double> <double 0x3FE984B204153B34, double 0x3FE984B204153B34>, i8 2) nounwind26 tail call void (...) @_mm_movemask_pd(<2 x double> %cmpsd.i) nounwind27 br i1 undef, label %if.then67, label %if.end7128 29if.then67: ; preds = %for.end30 %vecins.i91 = insertelement <2 x double> %vecins.i94, double undef, i32 031 br label %if.end7132 33if.end71: ; preds = %if.then67, %for.end34 %theta.1 = phi <2 x double> [ %vecins.i91, %if.then67 ], [ %theta.0.ph, %for.end ]35 br label %for.cond.outer36 37for.end82: ; preds = %for.cond.outer38 ret void39}40 41declare void @_mm_movemask_pd(...)42 43declare <2 x double> @llvm.x86.sse2.cmp.sd(<2 x double>, <2 x double>, i8) nounwind readnone44