llvm-project/llvm/test/CodeGen/PowerPC/fabs.ll

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
}