Fix PR 4626, a crash in branch folding after OptimizeBlock
authorDale Johannesen <dalej@apple.com>
Thu, 6 Aug 2009 22:56:40 +0000 (22:56 +0000)
committerDale Johannesen <dalej@apple.com>
Thu, 6 Aug 2009 22:56:40 +0000 (22:56 +0000)
commit14e545d18e46187b0f02e7c705a3da3ad82225c2
treee4957262172a65109fe1260c2efa236975acefa2
parent76711246d9905575290fa7eebac4d1cad6000c60
Fix PR 4626, a crash in branch folding after OptimizeBlock
produced a CFG it wasn't prepared for.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78351 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/BranchFolding.cpp
test/CodeGen/X86/2009-08-06-branchfolder-crash.ll [new file with mode: 0644]