llvm-6502/test/CodeGen/PowerPC/fabs.ll
2007-09-14 20:37:18 +00:00

8 lines
218 B
LLVM

; RUN: llvm-as < %s | llc -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
}