OLD | NEW |
---|---|
(Empty) | |
1 target triple = "i686-pc-linux-gnu" | |
2 | |
3 declare float @llvm.sqrt.f32(float) | |
4 declare double @llvm.sqrt.f64(double) | |
5 | |
6 define float @_Z6mySqrtf(float %a) { | |
7 %x = call float @llvm.sqrt.f32(float %a) | |
8 ret float %x | |
9 } | |
10 | |
11 define double @_Z6mySqrtd(double %a) { | |
12 %x = call double @llvm.sqrt.f64(double %a) | |
13 ret double %x | |
14 } | |
OLD | NEW |