1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 07:22:55 +01:00
llvm-mirror/test/CodeGen/PowerPC/fnabs.ll

11 lines
287 B
LLVM
Raw Normal View History

; RUN: llc < %s -march=ppc32 | grep fnabs
2005-04-09 06:03:16 +02:00
declare double @fabs(double)
2005-04-09 06:03:16 +02:00
define double @test(double %X) {
%Y = call double @fabs( double %X ) readnone ; <double> [#uses=1]
%Z = fsub double -0.000000e+00, %Y ; <double> [#uses=1]
ret double %Z
2005-04-09 06:03:16 +02:00
}