[llvm-commits] [llvm] r92387 - /llvm/trunk/test/CodeGen/ARM/fpowi.ll

Chris Lattner sabre at nondot.org
Thu Dec 31 19:26:52 PST 2009


Author: lattner
Date: Thu Dec 31 21:26:51 2009
New Revision: 92387

URL: http://llvm.org/viewvc/llvm-project?rev=92387&view=rev
Log:
Make this more likely to generate a libcall.

Modified:
    llvm/trunk/test/CodeGen/ARM/fpowi.ll

Modified: llvm/trunk/test/CodeGen/ARM/fpowi.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/fpowi.ll?rev=92387&r1=92386&r2=92387&view=diff

==============================================================================
--- llvm/trunk/test/CodeGen/ARM/fpowi.ll (original)
+++ llvm/trunk/test/CodeGen/ARM/fpowi.ll Thu Dec 31 21:26:51 2009
@@ -7,9 +7,8 @@
 
 define double @_ZSt3powdi(double %__x, i32 %__i) {
 entry:
-	%tmp3 = call double @llvm.powi.f64( double 0.000000e+00, i32 0 )		; <double> [#uses=1]
-	store double %tmp3, double* null, align 8
-	unreachable
+	%tmp3 = call double @llvm.powi.f64( double %__x, i32 %__i )
+        ret double %tmp3
 }
 
 declare double @llvm.powi.f64(double, i32)





More information about the llvm-commits mailing list