Changeset View
Changeset View
Standalone View
Standalone View
llvm/test/CodeGen/X86/2011-02-23-UnfoldBug.ll
; RUN: llc < %s -mtriple=x86_64-apple-darwin10 | ; RUN: llc < %s -mtriple=x86_64-apple-darwin10 | ||||
; rdar://9045024 | ; rdar://9045024 | ||||
; PR9305 | ; PR9305 | ||||
define void @calc_gb_rad_still_sse2_double() nounwind ssp { | define void @calc_gb_rad_still_sse2_double() nounwind ssp { | ||||
entry: | entry: | ||||
br label %for.cond.outer | br label %for.cond.outer | ||||
for.cond.outer: ; preds = %if.end71, %entry | for.cond.outer: ; preds = %if.end71, %entry | ||||
%theta.0.ph = phi <2 x double> [ undef, %entry ], [ %theta.1, %if.end71 ] | %theta.0.ph = phi <2 x double> [ undef, %entry ], [ %theta.1, %if.end71 ] | ||||
%mul.i97 = fmul <2 x double> %theta.0.ph, undef | %mul.i97 = fmul <2 x double> %theta.0.ph, undef | ||||
%mul.i96 = fmul <2 x double> %mul.i97, fmul (<2 x double> <double 2.000000e+00, double 2.000000e+00>, <2 x double> undef) | %fmul = fmul <2 x double> <double 2.000000e+00, double 2.000000e+00>, undef | ||||
%mul.i96 = fmul <2 x double> %mul.i97, %fmul | |||||
br i1 undef, label %for.body, label %for.end82 | br i1 undef, label %for.body, label %for.end82 | ||||
for.body: ; preds = %for.cond.outer | for.body: ; preds = %for.cond.outer | ||||
br i1 undef, label %for.body33.lr.ph, label %for.end | br i1 undef, label %for.body33.lr.ph, label %for.end | ||||
for.body33.lr.ph: ; preds = %for.body | for.body33.lr.ph: ; preds = %for.body | ||||
%dccf.2 = select i1 undef, <2 x double> %mul.i96, <2 x double> undef | %dccf.2 = select i1 undef, <2 x double> %mul.i96, <2 x double> undef | ||||
unreachable | unreachable | ||||
Show All 22 Lines |