aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/PowerPC/fabs.ll
blob: 36aa23d035504b65b22eff04bf3023ed6c5a56db (plain)
1
2
3
4
5
6
7
; RUN: llc < %s -mattr=-vsx -march=ppc32 -mtriple=powerpc-apple-darwin | grep "fabs f1, f1"

define double @fabs(double %f) {
entry:
	%tmp2 = tail call double @fabs( double %f ) readnone	; <double> [#uses=1]
	ret double %tmp2
}