Revert r59464. It was causing this failure:
[oota-llvm.git] / test / CodeGen / XCore / cos.ll
1 ; RUN: llvm-as < %s | llc -march=xcore > %t1.s
2 ; RUN: grep "bl cosf" %t1.s | count 1
3 ; RUN: grep "bl cos" %t1.s | count 2
4 ; XFAIL: *
5 declare double @llvm.cos.f64(double)
6
7 define double @test(double %F) {
8         %result = call double @llvm.cos.f64(double %F)
9         ret double %result
10 }
11
12 declare float @llvm.cos.f32(float)
13
14 define float @testf(float %F) {
15         %result = call float @llvm.cos.f32(float %F)
16         ret float %result
17 }