• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s
2
3define double @fneg(double %X) {
4        %Y = fsub double -0.000000e+00, %X               ; <double> [#uses=1]
5        ret double %Y
6}
7
8define float @fnegf(float %X) {
9        %Y = fsub float -0.000000e+00, %X                ; <float> [#uses=1]
10        ret float %Y
11}
12
13declare double @fabs(double)
14
15declare float @fabsf(float)
16
17define double @fabstest(double %X) {
18        %Y = call double @fabs( double %X )             ; <double> [#uses=1]
19        ret double %Y
20}
21
22define float @fabsftest(float %X) {
23        %Y = call float @fabsf( float %X )              ; <float> [#uses=1]
24        ret float %Y
25}
26
27