1 ; RUN: llvm-as < %s | llc -march=arm | grep bic | count 2
2 ; RUN: llvm-as < %s | llc -march=arm -mattr=+v6,+vfp2 | \
3 ; RUN: grep fneg | count 2
5 define float @test1(float %x, double %y) {
6 %tmp = fpext float %x to double
7 %tmp2 = tail call double @copysign( double %tmp, double %y )
8 %tmp3 = fptrunc double %tmp2 to float
12 define double @test2(double %x, float %y) {
13 %tmp = fpext float %y to double
14 %tmp2 = tail call double @copysign( double %x, double %tmp )
18 declare double @copysign(double, double)