summaryrefslogtreecommitdiffstats
path: root/llvm/test/Analysis/ScalarEvolution/2007-08-06-Unsigned.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
commit0bddac16a8c5798df1528ccf43da92a392a488be (patch)
tree1cb60f5065c8b0fb1874ee6798fe7d05dd835392 /llvm/test/Analysis/ScalarEvolution/2007-08-06-Unsigned.ll
parentd4ecca135a78c3b4245264c10c191452603eff2d (diff)
downloadbcm5719-llvm-0bddac16a8c5798df1528ccf43da92a392a488be.tar.gz
bcm5719-llvm-0bddac16a8c5798df1528ccf43da92a392a488be.zip
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. llvm-svn: 65382
Diffstat (limited to 'llvm/test/Analysis/ScalarEvolution/2007-08-06-Unsigned.ll')
-rw-r--r--llvm/test/Analysis/ScalarEvolution/2007-08-06-Unsigned.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Analysis/ScalarEvolution/2007-08-06-Unsigned.ll b/llvm/test/Analysis/ScalarEvolution/2007-08-06-Unsigned.ll
index d4452f4f3eb..34d97664ccb 100644
--- a/llvm/test/Analysis/ScalarEvolution/2007-08-06-Unsigned.ll
+++ b/llvm/test/Analysis/ScalarEvolution/2007-08-06-Unsigned.ll
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -scalar-evolution -analyze | grep {Loop bb: (-1 + (-1 \\* %x) + %y) iterations!}
+; RUN: llvm-as < %s | opt -scalar-evolution -analyze | grep {Loop bb: backedge-taken count is (-1 + (-1 \\* %x) + %y)}
; PR1597
define i32 @f(i32 %x, i32 %y) {
OpenPOWER on IntegriCloud