Make sure to clean CastedPointers after casts are potentially deleted.
authorChris Lattner <sabre@nondot.org>
Fri, 5 Aug 2005 01:30:11 +0000 (01:30 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 5 Aug 2005 01:30:11 +0000 (01:30 +0000)
commit9a59fbb89606aaefb27f6fe07dcb7c188bf1b3cd
tree2d8008bd94bad57fcb1c949aa8089788f5f26bc3
parent68ee736694c9e485de6729ec657f5a993e5f1027
Make sure to clean CastedPointers after casts are potentially deleted.
This fixes LSR crashes on 301.apsi, 191.fma3d, and 189.lucas

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