| Index: crosstest/test_arith_sqrt.ll
|
| diff --git a/crosstest/test_arith_sqrt.ll b/crosstest/test_arith_sqrt.ll
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2550aebd5eb7eb0389aeb1d80f89b73b816e3bb1
|
| --- /dev/null
|
| +++ b/crosstest/test_arith_sqrt.ll
|
| @@ -0,0 +1,14 @@
|
| +target triple = "i686-pc-linux-gnu"
|
| +
|
| +declare float @llvm.sqrt.f32(float)
|
| +declare double @llvm.sqrt.f64(double)
|
| +
|
| +define float @_Z6mySqrtf(float %a) {
|
| + %x = call float @llvm.sqrt.f32(float %a)
|
| + ret float %x
|
| +}
|
| +
|
| +define double @_Z6mySqrtd(double %a) {
|
| + %x = call double @llvm.sqrt.f64(double %a)
|
| + ret double %x
|
| +}
|
|
|