improve validity check to handle constant-trip-count loops more
authorChris Lattner <sabre@nondot.org>
Sat, 1 Jan 2011 19:54:22 +0000 (19:54 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 1 Jan 2011 19:54:22 +0000 (19:54 +0000)
commita64cbf067d6315522d13b606774bbadb4e328d1b
tree162d734fcc137ce72e22181f4e470bfc13801a17
parent30980b68151a1c1527306aa0f39e3b297af05583
improve validity check to handle constant-trip-count loops more
aggressively.  In practice, this doesn't help anything though,
see the todo.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122660 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
test/Transforms/LoopIdiom/basic.ll