don't create shifts by zero, fix some problems with my previous patch
authorChris Lattner <sabre@nondot.org>
Wed, 11 Apr 2007 06:43:25 +0000 (06:43 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 11 Apr 2007 06:43:25 +0000 (06:43 +0000)
commitc56a81dff1553536efee17445ef5eab276f22380
treeabd26133302665c573d7edf1a2ad32981f259c3a
parentba41783dbb1b8da52fac9859bd9d4770de7a82bd
don't create shifts by zero, fix some problems with my previous patch

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