; RUN: llvm-as < %s | llc


declare float %llvm.sqrt(float)
declare double %llvm.sqrt(double)


double %test_sqrt(float %F) {
	%G = call float %llvm.sqrt(float %F)
	%H = cast float %G to double
	%I = call double %llvm.sqrt(double %H)
	ret double %I
}

Add a test for llvm.sqrt
Add a test for llvm.sqrt


git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@21628 91177308-0d34-0410-b5e6-96231b3b80d8
