this is not infinite recursion.
authorChris Lattner <sabre@nondot.org>
Mon, 10 Sep 2007 21:16:23 +0000 (21:16 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 10 Sep 2007 21:16:23 +0000 (21:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41806 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/PowerPC/fabs.ll [new file with mode: 0644]

diff --git a/test/CodeGen/PowerPC/fabs.ll b/test/CodeGen/PowerPC/fabs.ll
new file mode 100644 (file)
index 0000000..9b7158f
--- /dev/null
@@ -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
+}