Rewrite the indvars pass to use the ScalarEvolution analysis.
authorChris Lattner <sabre@nondot.org>
Fri, 2 Apr 2004 20:24:31 +0000 (20:24 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 2 Apr 2004 20:24:31 +0000 (20:24 +0000)
commit40bf8b48cdb9961898dba1bc67320be1e49e3da1
treeacb4c11e07fec64d3a140ea600668fba4312f398
parent53e677abadadf71ef33f2f69533a32c1fa3d168f
Rewrite the indvars pass to use the ScalarEvolution analysis.

This also implements some new features for the indvars pass, including
linear function test replacement, exit value substitution, and it works with
a much more general class of induction variables and loops.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12620 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/IndVarSimplify.cpp