Start threading across blocks with code in them, so long as the code does
authorChris Lattner <sabre@nondot.org>
Tue, 20 Sep 2005 01:48:40 +0000 (01:48 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 20 Sep 2005 01:48:40 +0000 (01:48 +0000)
commite9487f0dc8c6d15cb257d5b49fa96ed436d32f5f
treee24e65f44abc4867a5432311b23db7d5f4cd6f5f
parent055135d1c14afa443d29c3dda02881fa76bc9b83
Start threading across blocks with code in them, so long as the code does
not define a value that is used outside of it's block.  This catches many
more simplifications, e.g. 854 in 176.gcc, 137 in vpr, etc.

This implements branch-phi-thread.ll:test3.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23397 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/SimplifyCFG.cpp