From: Chris Lattner Date: Mon, 10 Sep 2007 21:16:23 +0000 (+0000) Subject: this is not infinite recursion. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8de5f1cc7b6f4be02eecaf6db3b4283c0a641995;p=oota-llvm.git this is not infinite recursion. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41806 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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 +}