Make sure to update the CFG correctly if a switch only has a default dest.
authorChris Lattner <sabre@nondot.org>
Mon, 12 Jun 2006 18:25:29 +0000 (18:25 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 12 Jun 2006 18:25:29 +0000 (18:25 +0000)
commita3bb86dd6b6220c69d9d7e4e11aea42fa1ec2bc5
tree75908840d2fabb1e8694be75f0e767eae61afed1
parent1398421ccf060f4894d5ff8fe913bc6a5493dc33
Make sure to update the CFG correctly if a switch only has a default dest.
This fixes CodeGen/Generic/2006-06-12-LowerSwitchCrash.ll

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