llvm/test/CodeGen/PowerPC/fabs.ll
2009-09-09 00:09:15 +00:00

8 lines
208 B
LLVM

; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin | grep {fabs f1, f1}
define double @fabs(double %f) {
entry:
%tmp2 = tail call double @fabs( double %f ) ; <double> [#uses=1]
ret double %tmp2
}