OLD | NEW |
---|---|
(Empty) | |
1 declare float @llvm.fabs.f32(float) | |
2 declare double @llvm.fabs.f64(double) | |
3 declare <4 x float> @llvm.fabs.v4f32(<4 x float>) | |
4 | |
5 define float @_Z6myFabsf(float %a) { | |
6 %x = call float @llvm.fabs.f32(float %a) | |
7 ret float %x | |
8 } | |
9 | |
10 define double @_Z6myFabsd(double %a) { | |
11 %x = call double @llvm.fabs.f64(double %a) | |
12 ret double %x | |
13 } | |
14 | |
15 define <4 x float> @_Z6myFabsDv4_f(<4 x float> %a) { | |
16 %x = call <4 x float> @llvm.fabs.v4f32(<4 x float> %a) | |
17 ret <4 x float> %x | |
18 } | |
OLD | NEW |