Simplify this code. LoopDeletion doesn't need to explicit check that
authorDan Gohman <gohman@apple.com>
Mon, 26 Oct 2009 22:18:58 +0000 (22:18 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 26 Oct 2009 22:18:58 +0000 (22:18 +0000)
commit06d4033a354115904e9df23608f9a7cd543d5dbc
tree257cef7520beb341bd6114827afe9c6900395a8d
parentfe3595555a2ac3e11c8f39182f4a481e83849f76
Simplify this code. LoopDeletion doesn't need to explicit check that
the loop exiting block dominates the latch block; if ScalarEvolution
can prove that the trip-count is finite, that's sufficient.

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