Revert "Fix PR18361: Invalidate LoopDispositions after LoopSimplify hoists things."
authorAlp Toker <alp@nuanti.com>
Sat, 4 Jan 2014 17:00:45 +0000 (17:00 +0000)
committerAlp Toker <alp@nuanti.com>
Sat, 4 Jan 2014 17:00:45 +0000 (17:00 +0000)
commitccd36c4c54eb88c4125c9aafe824d8f52022283c
treea7bfd25bcb8631ce04490ac60f9b3669269ab482
parent72d2b052545bf4b60731206f25055b3aae46d587
Revert "Fix PR18361: Invalidate LoopDispositions after LoopSimplify hoists things."

This commit was the source of crasher PR18384:

While deleting: label %for.cond127
An asserting value handle still pointed to this value!
UNREACHABLE executed at llvm/lib/IR/Value.cpp:671!

Reverting to get the builders green, feel free to re-land after fixing up.
(Renato has a handy isolated repro if you need it.)

This reverts commit r198478.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198503 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/ScalarEvolution.h
lib/Transforms/Utils/LoopSimplify.cpp
test/Transforms/LoopSimplify/ashr-crash.ll [deleted file]