Bulk erasing instructions without RAUWing them is unsafe. Instead, break them
authorNick Lewycky <nicholas@mxc.ca>
Wed, 29 Jul 2009 05:17:50 +0000 (05:17 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Wed, 29 Jul 2009 05:17:50 +0000 (05:17 +0000)
commit0efa921736fefde26003aca8d182ab7eb722394b
tree9a608794f0c65e7d809ae6c088535f7994dc9793
parente53a600f065075731d0aeb9dc8f4f3d75f5a05f8
Bulk erasing instructions without RAUWing them is unsafe. Instead, break them
into a new BB that has no predecessors.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77433 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/SimplifyLibCalls.cpp
test/Transforms/SimplifyLibCalls/2009-07-28-Exit.ll [new file with mode: 0644]