OSDN Git Service

Fix this code to correctly handle loops with multiple exits. Until
authorDan Gohman <gohman@apple.com>
Mon, 22 Jun 2009 00:15:15 +0000 (00:15 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 22 Jun 2009 00:15:15 +0000 (00:15 +0000)
commit03ad6982c458fd6f982079e11c07419bf17efedc
treef978dc5ec687c0dcb64fbc45f2542968f15fa0b9
parent5392dce8815bc8975076a6b4f0079359878e2b7a
Fix this code to correctly handle loops with multiple exits. Until
now, this hasn't mattered, because ScalarEvolution hasn't been able
to compute trip counts for loops with multiple exits. But it will
soon.

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