aboutsummaryrefslogtreecommitdiff
path: root/test/Analysis/ScalarEvolution/2008-02-11-ReversedCondition.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-02-24 18:55:53 +0000
committerDan Gohman <gohman@apple.com>2009-02-24 18:55:53 +0000
commit46bdfb0e6bb9de86b19562fc52fddefd7014cf73 (patch)
treea8f92be55af923205fbf9436d25b7544215c44bb /test/Analysis/ScalarEvolution/2008-02-11-ReversedCondition.ll
parent57f0db833dc30404f1f5d28b23df326e520698ec (diff)
Rename ScalarEvolution's getIterationCount to getBackedgeTakenCount,
to more accurately describe what it does. Expand its doxygen comment to describe what the backedge-taken count is and how it differs from the actual iteration count of the loop. Adjust names and comments in associated code accordingly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65382 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/ScalarEvolution/2008-02-11-ReversedCondition.ll')
-rw-r--r--test/Analysis/ScalarEvolution/2008-02-11-ReversedCondition.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Analysis/ScalarEvolution/2008-02-11-ReversedCondition.ll b/test/Analysis/ScalarEvolution/2008-02-11-ReversedCondition.ll
index a01007d8c2..182a0876e6 100644
--- a/test/Analysis/ScalarEvolution/2008-02-11-ReversedCondition.ll
+++ b/test/Analysis/ScalarEvolution/2008-02-11-ReversedCondition.ll
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -scalar-evolution -analyze | grep {Loop header: (0 smax %n) iterations!}
+; RUN: llvm-as < %s | opt -scalar-evolution -analyze | grep {Loop header: backedge-taken count is (0 smax %n)}
define void @foo(i32 %n) {
entry: