Benjamin Kramer 7182126b0f Indvars: Don't recursively delete instruction during BB iteration.
This can invalidate the iterators leading to use after frees and crashes.
Fixes PR12536.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166291 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-19 17:53:54 +00:00
..
2012-10-09 08:13:15 +00:00
2012-09-19 09:22:17 +00:00
2012-09-29 00:12:08 +00:00