[llvm-commits] [llvm] r41806 - /llvm/trunk/test/CodeGen/PowerPC/fabs.ll

Chris Lattner sabre at nondot.org
Mon Sep 10 14:16:23 PDT 2007


Author: lattner
Date: Mon Sep 10 16:16:23 2007
New Revision: 41806

URL: http://llvm.org/viewvc/llvm-project?rev=41806&view=rev
Log:
this is not infinite recursion.

Added:
    llvm/trunk/test/CodeGen/PowerPC/fabs.ll

Added: llvm/trunk/test/CodeGen/PowerPC/fabs.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/fabs.ll?rev=41806&view=auto

==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/fabs.ll (added)
+++ llvm/trunk/test/CodeGen/PowerPC/fabs.ll Mon Sep 10 16:16:23 2007
@@ -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
+}





More information about the llvm-commits mailing list