mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
27ab14af9b
llvm-svn: 41959
8 lines
218 B
LLVM
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
|
|
}
|