diff options
| author | Chris Lattner <sabre@nondot.org> | 2007-09-10 21:16:23 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2007-09-10 21:16:23 +0000 |
| commit | 7a9935c31f128f19431ba54a535c76234eeeae4a (patch) | |
| tree | f7bdd0053d1d940f90c475e152ff3865ba795a46 | |
| parent | 33a7f51412029e0a86cab2ed5bc261b0c6179352 (diff) | |
| download | bcm5719-llvm-7a9935c31f128f19431ba54a535c76234eeeae4a.tar.gz bcm5719-llvm-7a9935c31f128f19431ba54a535c76234eeeae4a.zip | |
this is not infinite recursion.
llvm-svn: 41806
| -rw-r--r-- | llvm/test/CodeGen/PowerPC/fabs.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/PowerPC/fabs.ll b/llvm/test/CodeGen/PowerPC/fabs.ll new file mode 100644 index 00000000000..9b7158f0477 --- /dev/null +++ b/llvm/test/CodeGen/PowerPC/fabs.ll @@ -0,0 +1,7 @@ +; RUN: llvm-as < %s | llc -march=ppc32 | grep {fabs f1, f1} + +define double @fabs(double %f) { +entry: + %tmp2 = tail call double @fabs( double %f ) ; <double> [#uses=1] + ret double %tmp2 +} |

