Fix the case when a reference to an address taken BB is emitted in one
authorChris Lattner <sabre@nondot.org>
Mon, 15 Mar 2010 19:09:43 +0000 (19:09 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 15 Mar 2010 19:09:43 +0000 (19:09 +0000)
commit0220ba7995236accae6ac009a2700871fc17007d
tree6df3815b77df85e7c42d309f10b9ac445892fcd2
parentca704957972df96a86f4ef90ce992bce5a9b60e9
Fix the case when a reference to an address taken BB is emitted in one
function, then the BB is RAUW'd before the definition is emitted.  There
are still two cases not being handled, but this should improve us back to
the situation before I touched anything.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98566 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineModuleInfo.h
lib/CodeGen/MachineModuleInfo.cpp
test/CodeGen/X86/crash.ll