SimplifyCFG: Don't crash when forming a switch bitmap with an undef default value.
authorBenjamin Kramer <benny.kra@googlemail.com>
Mon, 1 Oct 2012 11:31:48 +0000 (11:31 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Mon, 1 Oct 2012 11:31:48 +0000 (11:31 +0000)
commit64f27e78c4af3b69930b1d05b13b80cb025f4079
tree9990ceed68da5c49c5024ea8608f12bb0bc06438
parent1e1b16c48515d6d54525ab279e4acb5ddd05c83d
SimplifyCFG: Don't crash when forming a switch bitmap with an undef default value.

Fixes PR13985.

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