Do not delete BBs if their addresses are taken. rdar://12396696
authorEvan Cheng <evan.cheng@apple.com>
Fri, 28 Sep 2012 23:58:57 +0000 (23:58 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 28 Sep 2012 23:58:57 +0000 (23:58 +0000)
commit465970736b980a824b76a41a2ba2922f3f2d26a4
tree438d996feaa759d8a1c983d4ef2d53abde00dd6d
parentdc998ccb6573fb3cd6fc008b1efa9709d67af00e
Do not delete BBs if their addresses are taken. rdar://12396696

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164866 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/CodeGenPrepare.cpp
test/CodeGen/X86/2012-09-28-CGPBug.ll [new file with mode: 0644]