Allow for switch with no cases. Was causing fault
authorDale Johannesen <dalej@apple.com>
Fri, 23 May 2008 01:01:31 +0000 (01:01 +0000)
committerDale Johannesen <dalej@apple.com>
Fri, 23 May 2008 01:01:31 +0000 (01:01 +0000)
commit9bca583f9d674eb27f492d46074f5621dd166f5a
treee3bf60d257da32968e967f4ab00acf60057ebb99
parentb1938263c7d0fcf8362717625a1a5c460cbf9528
Allow for switch with no cases.  Was causing fault
in gcc.dg/pr27531-1.c.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51464 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/SCCP.cpp