[llvm-commits] [llvm] r113257 - in /llvm/trunk/test/Transforms/InstCombine: 2010-07-19-sqrt.ll sqrt.ll

Chris Lattner sabre at nondot.org
Tue Sep 7 12:57:06 PDT 2010


Author: lattner
Date: Tue Sep  7 14:57:06 2010
New Revision: 113257

URL: http://llvm.org/viewvc/llvm-project?rev=113257&view=rev
Log:
rename test.

Added:
    llvm/trunk/test/Transforms/InstCombine/sqrt.ll
      - copied unchanged from r113252, llvm/trunk/test/Transforms/InstCombine/2010-07-19-sqrt.ll
Removed:
    llvm/trunk/test/Transforms/InstCombine/2010-07-19-sqrt.ll

Removed: llvm/trunk/test/Transforms/InstCombine/2010-07-19-sqrt.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/2010-07-19-sqrt.ll?rev=113256&view=auto
==============================================================================
--- llvm/trunk/test/Transforms/InstCombine/2010-07-19-sqrt.ll (original)
+++ llvm/trunk/test/Transforms/InstCombine/2010-07-19-sqrt.ll (removed)
@@ -1,16 +0,0 @@
-; RUN: opt -S -instcombine %s | FileCheck %s
-
-define float @foo(float %x) nounwind readnone ssp {
-entry:
-; CHECK-NOT: fpext
-; CHECK-NOT: sqrt(
-; CHECK: sqrtf(
-; CHECK-NOT: fptrunc
-  %conv = fpext float %x to double                ; <double> [#uses=1]
-  %call = tail call double @sqrt(double %conv) nounwind ; <double> [#uses=1]
-  %conv1 = fptrunc double %call to float          ; <float> [#uses=1]
-; CHECK: ret float
-  ret float %conv1
-}
-
-declare double @sqrt(double) readnone





More information about the llvm-commits mailing list