Fix indvars to not assume that a loop with a single unique exit
authorDan Gohman <gohman@apple.com>
Tue, 14 Jul 2009 01:09:02 +0000 (01:09 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 14 Jul 2009 01:09:02 +0000 (01:09 +0000)
commit65d1e2b6e74fcd370093cbe518ebc15cbc445ad4
tree5a0c2c13f04ddb9f735b3de426ceaa69400b2230
parenta342026504e65e2c8dc5600dab4b45ab4f94026d
Fix indvars to not assume that a loop with a single unique exit
block has a single unique exiting block.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75579 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/IndVarSimplify.cpp
test/Transforms/IndVarSimplify/loop_evaluate10.ll [new file with mode: 0644]