Revert r188119 "Kill some duplicated code for removing unreachable BBs."
authorArnold Schwaighofer <aschwaighofer@apple.com>
Sat, 10 Aug 2013 20:16:06 +0000 (20:16 +0000)
committerArnold Schwaighofer <aschwaighofer@apple.com>
Sat, 10 Aug 2013 20:16:06 +0000 (20:16 +0000)
commit5cf14916c3b1dd1df32c825b8eb63b6d828aa7a5
tree4b7ca529423bdbc885f273141faf23768d921169
parentd8de58e24cf5874c0d6f903d15333406787ea944
Revert r188119 "Kill some duplicated code for removing unreachable BBs."

It is breaking builbots with libgmalloc enabled on Mac OS X.

$ cd llvm ; mkdir release ; cd release
$ ../configure --enable-optimized â€”prefix=$PWD/install
$ make
$ make check
$ Release+Asserts/bin/llvm-lit -v --param use_gmalloc=1 --param \
  gmalloc_path=/usr/lib/libgmalloc.dylib \
  ../test/Instrumentation/DataFlowSanitizer/args-unreachable-bb.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188142 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/SimplifyCFGPass.cpp
lib/Transforms/Utils/Local.cpp
test/Instrumentation/DataFlowSanitizer/args-unreachable-bb.ll