a093def16f5af809c4aaa434022b8cb6ff562dad
[oota-llvm.git] / test / CodeGen / PowerPC / fabs.ll
1 ; RUN: llc < %s -mattr=-vsx -march=ppc32 -mtriple=powerpc-apple-darwin | grep "fabs f1, f1"
2 ; RUN: llc < %s -mattr=+vsx -march=ppc32 -mtriple=powerpc-apple-darwin | grep "xsabsdp f1, f1"
3
4 define double @fabs(double %f) {
5 entry:
6         %tmp2 = tail call double @fabs( double %f ) readnone    ; <double> [#uses=1]
7         ret double %tmp2
8 }