You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.179
Former-commit-id: 67aa10e65b237e1c4537630979ee99ebe1374215
This commit is contained in:
parent
d6bde52373
commit
8625704ad8
26
external/llvm/test/CodeGen/Generic/fneg-fabs.ll
vendored
Normal file
26
external/llvm/test/CodeGen/Generic/fneg-fabs.ll
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
; RUN: llc < %s
|
||||
|
||||
define double @fneg(double %X) {
|
||||
%Y = fsub double -0.000000e+00, %X ; <double> [#uses=1]
|
||||
ret double %Y
|
||||
}
|
||||
|
||||
define float @fnegf(float %X) {
|
||||
%Y = fsub float -0.000000e+00, %X ; <float> [#uses=1]
|
||||
ret float %Y
|
||||
}
|
||||
|
||||
declare double @fabs(double)
|
||||
|
||||
declare float @fabsf(float)
|
||||
|
||||
define double @fabstest(double %X) {
|
||||
%Y = call double @fabs( double %X ) ; <double> [#uses=1]
|
||||
ret double %Y
|
||||
}
|
||||
|
||||
define float @fabsftest(float %X) {
|
||||
%Y = call float @fabsf( float %X ) ; <float> [#uses=1]
|
||||
ret float %Y
|
||||
}
|
||||
|
Reference in New Issue
Block a user