Use AssertingVH for InsertedValues and InsertedPostIncValues, to verify
authorDan Gohman <gohman@apple.com>
Tue, 27 Jul 2010 01:19:06 +0000 (01:19 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 27 Jul 2010 01:19:06 +0000 (01:19 +0000)
commitab28928fe276d20cf9533ae6b858497f835c7a53
tree6e2f631a15f76bdb04558beccea54f41ce42fbd4
parent05cfd335bbb81842bd4fabeff9d2d710cfb8d97a
Use AssertingVH for InsertedValues and InsertedPostIncValues, to verify
that the values they refer to aren't being deleted underneath them.

Make sure these containters get cleared by clear(), which IndVarSimplify
and LSR both use before deleting instructions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109478 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/ScalarEvolutionExpander.h