Generalize ScalarEvolution's PHI analysis to handle loops that don't
authorDan Gohman <gohman@apple.com>
Mon, 12 Apr 2010 07:49:36 +0000 (07:49 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 12 Apr 2010 07:49:36 +0000 (07:49 +0000)
commit27dead44e0d198c71c317ff88ab02fc5f0fb947d
tree02f0625191b6c74563943dd05437303e27f790b1
parent646e047765a2d4c38555550fddde66d1e003aece
Generalize ScalarEvolution's PHI analysis to handle loops that don't
have preheaders or dedicated exit blocks, as clients may not otherwise
need to run LoopSimplify.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101030 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ScalarEvolution.cpp
test/Analysis/ScalarEvolution/unsimplified-loop.ll [new file with mode: 0644]