mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 05:24:01 +00:00
Change test case, one that actually failed before my commit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135064 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -38,7 +38,12 @@ entry:
|
|||||||
; CHECK: sqrt(
|
; CHECK: sqrt(
|
||||||
; CHECK-NOT: sqrtf(
|
; CHECK-NOT: sqrtf(
|
||||||
; CHECK: fptrunc
|
; 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
|
%call36 = call i32 (double)* @foo(double %call34) nounwind
|
||||||
%conv38 = fptrunc double %call34 to float
|
%conv38 = fptrunc double %call34 to float
|
||||||
ret float %conv38
|
ret float %conv38
|
||||||
|
Reference in New Issue
Block a user