Do not create empty basic blocks when the lowerswitch pass expects blocks to
authorChris Lattner <sabre@nondot.org>
Sun, 14 Mar 2004 04:14:31 +0000 (04:14 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 14 Mar 2004 04:14:31 +0000 (04:14 +0000)
commitbf9eaddfb0642e49bc2f3835765a9782ff48c76e
tree7937ce71262e2212e55ea010ddfa5af6169d744e
parent6cc83750b8c4eaadabae405240d06d6d70fb8ef8
Do not create empty basic blocks when the lowerswitch pass expects blocks to
be non-empty!  This fixes LowerSwitch/2004-03-13-SwitchIsDefaultCrash.ll

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