Fix ScalarEvolution's tripcount computation for chains of loops
authorDan Gohman <gohman@apple.com>
Tue, 29 Jun 2010 23:43:06 +0000 (23:43 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 29 Jun 2010 23:43:06 +0000 (23:43 +0000)
commit1104645eefa134ff3dd2c911d2aaa0dffb38f59f
tree8e15e4236a848e03743b3247901c765b8b63b0d9
parent07d317711781d8c9268f7d6afcf1ba7eadf1d127
Fix ScalarEvolution's tripcount computation for chains of loops
where each loop's induction variable's start value is the exit
value of a preceding loop.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107224 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ScalarEvolution.cpp
test/Transforms/IndVarSimplify/tripcount_compute.ll