Fix a bug in merged condition handling (CodeGen/Generic/2006-10-27-CondFolding.ll).
authorChris Lattner <sabre@nondot.org>
Fri, 27 Oct 2006 23:50:33 +0000 (23:50 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 27 Oct 2006 23:50:33 +0000 (23:50 +0000)
commit8c494ab759266322aa05d5e99af9c05eb0d44576
tree6fe678eb4b87dfcdd6c5d15ca7097d50f92b7cb8
parent0d824c3fe1a3d06e6c0c92952c436226a7402b2e
Fix a bug in merged condition handling (CodeGen/Generic/2006-10-27-CondFolding.ll).

Add many fewer CFG edges and PHI node entries.  If there is a switch which has
the same block as multiple destinations, only add that block once as a successor/phi
node (in the jumptable case)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31242 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp