Change test case, one that actually failed before my commit.

llvm-svn: 135064
This commit is contained in:
Evan Cheng 2011-07-13 19:19:44 +00:00
parent c845e55374
commit 4a40a747ba
1 changed files with 6 additions and 1 deletions

View File

@ -38,7 +38,12 @@ entry:
; CHECK: sqrt(
; CHECK-NOT: sqrtf(
; CHECK: fptrunc
%call34 = call double @sqrt(double undef) nounwind readnone
%arrayidx13 = getelementptr inbounds float* %v, i64 2
%tmp14 = load float* %arrayidx13
%mul18 = fmul float %tmp14, %tmp14
%add19 = fadd float undef, %mul18
%conv = fpext float %add19 to double
%call34 = call double @sqrt(double %conv) readnone
%call36 = call i32 (double)* @foo(double %call34) nounwind
%conv38 = fptrunc double %call34 to float
ret float %conv38