make switch constant folding a bit stronger, handling a missed case.
authorChris Lattner <sabre@nondot.org>
Mon, 28 Feb 2011 07:16:14 +0000 (07:16 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 28 Feb 2011 07:16:14 +0000 (07:16 +0000)
commit9467110fcef8a3e4caf9e5d022cff0322afe6e8b
treeac3471512cb5195eb9a546438603aa18d2d5e80a
parentc480ac8b5034cfb57caf86247549d10fd01a17ed
make switch constant folding a bit stronger, handling a missed case.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126638 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGStmt.cpp
test/CodeGen/switch-dce.c