1 ; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 &&
2 ; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | \
3 ; RUN: grep pslldq | wc -l | grep 1 &&
4 ; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | not getp test
6 define float %test1(float %a, float %b) {
7 %tmp = tail call float %copysignf( float %b, float %a )
11 define double %test2(double %a, float %b, float %c) {
12 %tmp1 = add float %b, %c
13 %tmp2 = fpext float %tmp1 to double
14 %tmp = tail call double %copysign( double %a, double %tmp2 )
18 declare float %copysignf(float, float)
19 declare double %copysign(double, double)