Fix PR2609. If a label is deleted, then it needs
authorDuncan Sands <baldrick@free.fr>
Tue, 29 Jul 2008 20:56:02 +0000 (20:56 +0000)
committerDuncan Sands <baldrick@free.fr>
Tue, 29 Jul 2008 20:56:02 +0000 (20:56 +0000)
commit68d4d1d49c813d10047ad116e897a17d67112c10
tree52e8f4590afd237eee31963466cb9482a009ce97
parent97843cdb0b63735a4ade07cf7270c9a2198e0dc7
Fix PR2609.  If a label is deleted, then it needs
to be marked invalid regardless of whether it is
a debug, an exception handling or (hopefully) a
GC label.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54172 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/BranchFolding.cpp
test/CodeGen/Generic/2008-07-29-EHLabel.ll [new file with mode: 0644]