[llvm-commits] [llvm] r49436 - in /llvm/trunk/test/Transforms/SimplifyLibCalls: Pow.ll pow2.ll

Chris Lattner sabre at nondot.org
Wed Apr 9 10:46:36 PDT 2008


Author: lattner
Date: Wed Apr  9 12:46:36 2008
New Revision: 49436

URL: http://llvm.org/viewvc/llvm-project?rev=49436&view=rev
Log:
remove capital letter from test name.

Added:
    llvm/trunk/test/Transforms/SimplifyLibCalls/pow2.ll
      - copied unchanged from r49433, llvm/trunk/test/Transforms/SimplifyLibCalls/Pow.ll
Removed:
    llvm/trunk/test/Transforms/SimplifyLibCalls/Pow.ll

Removed: llvm/trunk/test/Transforms/SimplifyLibCalls/Pow.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SimplifyLibCalls/Pow.ll?rev=49435&view=auto

==============================================================================
--- llvm/trunk/test/Transforms/SimplifyLibCalls/Pow.ll (original)
+++ llvm/trunk/test/Transforms/SimplifyLibCalls/Pow.ll (removed)
@@ -1,32 +0,0 @@
-; Testcase for calls to the standard C "pow" function
-;
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | not grep {call .pow}
-
-
-declare double @pow(double, double)
-declare float @powf(float, float)
-
-define double @test1(double %X) {
-	%Y = call double @pow( double %X, double 0.000000e+00 )		; <double> [#uses=1]
-	ret double %Y
-}
-
-define double @test2(double %X) {
-	%Y = call double @pow( double %X, double -0.000000e+00 )		; <double> [#uses=1]
-	ret double %Y
-}
-
-define double @test3(double %X) {
-	%Y = call double @pow( double 1.000000e+00, double %X )		; <double> [#uses=1]
-	ret double %Y
-}
-
-define double @test4(double %X) {
-	%Y = call double @pow( double %X, double 2.0)
-	ret double %Y
-}
-
-define float @test4f(float %X) {
-	%Y = call float @powf( float %X, float 2.0)
-	ret float %Y
-}





More information about the llvm-commits mailing list