From 8de5f1cc7b6f4be02eecaf6db3b4283c0a641995 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 10 Sep 2007 21:16:23 +0000 Subject: [PATCH] this is not infinite recursion. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41806 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/PowerPC/fabs.ll | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/CodeGen/PowerPC/fabs.ll diff --git a/test/CodeGen/PowerPC/fabs.ll b/test/CodeGen/PowerPC/fabs.ll new file mode 100644 index 00000000000..9b7158f0477 --- /dev/null +++ b/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 ) ; [#uses=1] + ret double %tmp2 +}