diff options
author | Dan Gohman <gohman@apple.com> | 2009-02-24 18:55:53 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-02-24 18:55:53 +0000 |
commit | 46bdfb0e6bb9de86b19562fc52fddefd7014cf73 (patch) | |
tree | a8f92be55af923205fbf9436d25b7544215c44bb /test/Analysis/ScalarEvolution/2008-02-12-SMAXTripCount.ll | |
parent | 57f0db833dc30404f1f5d28b23df326e520698ec (diff) | |
download | llvm-46bdfb0e6bb9de86b19562fc52fddefd7014cf73.tar.gz llvm-46bdfb0e6bb9de86b19562fc52fddefd7014cf73.tar.bz2 llvm-46bdfb0e6bb9de86b19562fc52fddefd7014cf73.tar.xz |
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-12-SMAXTripCount.ll')
-rw-r--r-- | test/Analysis/ScalarEvolution/2008-02-12-SMAXTripCount.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Analysis/ScalarEvolution/2008-02-12-SMAXTripCount.ll b/test/Analysis/ScalarEvolution/2008-02-12-SMAXTripCount.ll index 74e826847b..cd3a80f791 100644 --- a/test/Analysis/ScalarEvolution/2008-02-12-SMAXTripCount.ll +++ b/test/Analysis/ScalarEvolution/2008-02-12-SMAXTripCount.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -scalar-evolution -analyze | grep {Loop loop: (100 + (-100 smax %n)) iterations!} +; RUN: llvm-as < %s | opt -scalar-evolution -analyze | grep {Loop loop: backedge-taken count is (100 + (-100 smax %n))} ; PR2002 define void @foo(i8 %n) { |