Fix bug: ADCE/2003-06-11-InvalidCFG.ll
authorChris Lattner <sabre@nondot.org>
Mon, 16 Jun 2003 12:10:45 +0000 (12:10 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 16 Jun 2003 12:10:45 +0000 (12:10 +0000)
commit34e353e56064d600d76b05a54095cc74bbbb2ea8
tree14bd66371bfdc493ae1a8e37c303614abd4fe934
parent02da6c0f08913a793b3cbc01d8e11932bf51ec29
Fix bug: ADCE/2003-06-11-InvalidCFG.ll
This was because we were deleting large chunks of functions without an exit block, because the post-dominance
information was not useful.  This broke crafty and twolf.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6698 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/ADCE.cpp