[llvm-commits] [llvm] r53792 - in /llvm/trunk/test/Analysis/ScalarEvolution: 2007-07-15-NegativeStride.ll 2007-09-27-LargeStepping.ll 2008-05-25-NegativeStepToZero.ll SolveQuadraticEquation.ll trip-count.ll

Wojciech Matyjewicz wmatyjewicz at fastmail.fm
Sat Jul 19 06:26:16 PDT 2008


Author: wmat
Date: Sat Jul 19 08:26:15 2008
New Revision: 53792

URL: http://llvm.org/viewvc/llvm-project?rev=53792&view=rev
Log:
While testing particular algorithms to compute loop iteration count the brute
force evaluation (ComputeIterationCountExhaustively) should be turned off.

It doesn't apply to trip-count2.ll because this file tests the brute force
evaluation.

The test for PR2364 (2008-05-25-NegativeStepToZero.ll) currently fails
showing that the patch for this bug doesn't work. I'll fix it in a few hours
with a patch for PR2088.


Modified:
    llvm/trunk/test/Analysis/ScalarEvolution/2007-07-15-NegativeStride.ll
    llvm/trunk/test/Analysis/ScalarEvolution/2007-09-27-LargeStepping.ll
    llvm/trunk/test/Analysis/ScalarEvolution/2008-05-25-NegativeStepToZero.ll
    llvm/trunk/test/Analysis/ScalarEvolution/SolveQuadraticEquation.ll
    llvm/trunk/test/Analysis/ScalarEvolution/trip-count.ll

Modified: llvm/trunk/test/Analysis/ScalarEvolution/2007-07-15-NegativeStride.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Analysis/ScalarEvolution/2007-07-15-NegativeStride.ll?rev=53792&r1=53791&r2=53792&view=diff

==============================================================================
--- llvm/trunk/test/Analysis/ScalarEvolution/2007-07-15-NegativeStride.ll (original)
+++ llvm/trunk/test/Analysis/ScalarEvolution/2007-07-15-NegativeStride.ll Sat Jul 19 08:26:15 2008
@@ -1,4 +1,5 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution | grep {Loop bb:  100 iterations}
+; RUN: llvm-as < %s | opt -analyze -scalar-evolution \
+; RUN:   -scalar-evolution-max-iterations=0 | grep {Loop bb:  100 iterations}
 ; PR1533
 
 @array = weak global [101 x i32] zeroinitializer, align 32		; <[100 x i32]*> [#uses=1]

Modified: llvm/trunk/test/Analysis/ScalarEvolution/2007-09-27-LargeStepping.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Analysis/ScalarEvolution/2007-09-27-LargeStepping.ll?rev=53792&r1=53791&r2=53792&view=diff

==============================================================================
--- llvm/trunk/test/Analysis/ScalarEvolution/2007-09-27-LargeStepping.ll (original)
+++ llvm/trunk/test/Analysis/ScalarEvolution/2007-09-27-LargeStepping.ll Sat Jul 19 08:26:15 2008
@@ -1,4 +1,5 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution | grep {13 iterations}
+; RUN: llvm-as < %s | opt -analyze -scalar-evolution \
+; RUN:   -scalar-evolution-max-iterations=0 | grep {13 iterations}
 ; PR1706
 
 define i32 @f() {

Modified: llvm/trunk/test/Analysis/ScalarEvolution/2008-05-25-NegativeStepToZero.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Analysis/ScalarEvolution/2008-05-25-NegativeStepToZero.ll?rev=53792&r1=53791&r2=53792&view=diff

==============================================================================
--- llvm/trunk/test/Analysis/ScalarEvolution/2008-05-25-NegativeStepToZero.ll (original)
+++ llvm/trunk/test/Analysis/ScalarEvolution/2008-05-25-NegativeStepToZero.ll Sat Jul 19 08:26:15 2008
@@ -1,4 +1,5 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution | grep {61 iterations}
+; RUN: llvm-as < %s | opt -analyze -scalar-evolution \
+; RUN:   -scalar-evolution-max-iterations=0 | grep {61 iterations}
 ; PR2364
 
 define i32 @func_6() nounwind  {

Modified: llvm/trunk/test/Analysis/ScalarEvolution/SolveQuadraticEquation.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Analysis/ScalarEvolution/SolveQuadraticEquation.ll?rev=53792&r1=53791&r2=53792&view=diff

==============================================================================
--- llvm/trunk/test/Analysis/ScalarEvolution/SolveQuadraticEquation.ll (original)
+++ llvm/trunk/test/Analysis/ScalarEvolution/SolveQuadraticEquation.ll Sat Jul 19 08:26:15 2008
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution | \
-; RUN:   grep {100 iterations}
+; RUN: llvm-as < %s | opt -analyze -scalar-evolution \
+; RUN:   -scalar-evolution-max-iterations=0 | grep {100 iterations}
 ; PR1101
 
 @A = weak global [1000 x i32] zeroinitializer, align 32         

Modified: llvm/trunk/test/Analysis/ScalarEvolution/trip-count.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Analysis/ScalarEvolution/trip-count.ll?rev=53792&r1=53791&r2=53792&view=diff

==============================================================================
--- llvm/trunk/test/Analysis/ScalarEvolution/trip-count.ll (original)
+++ llvm/trunk/test/Analysis/ScalarEvolution/trip-count.ll Sat Jul 19 08:26:15 2008
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution | \
-; RUN:   grep {10000 iterations}
+; RUN: llvm-as < %s | opt -analyze -scalar-evolution \
+; RUN:   -scalar-evolution-max-iterations=0 | grep {10000 iterations}
 ; PR1101
 
 @A = weak global [1000 x i32] zeroinitializer, align 32         





More information about the llvm-commits mailing list