OSDN Git Service

Port some bugfixes in shift handling from SimplifyDemandedBits over to
authorChris Lattner <sabre@nondot.org>
Tue, 13 Jun 2006 16:52:37 +0000 (16:52 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 13 Jun 2006 16:52:37 +0000 (16:52 +0000)
commitc4fa603347e798c94f54430227df8265736ef183
treef2847917ee98795896b4f66280760c3c58b265fa
parent209f437303f75b11e84a791b288e786a6492e45e
Port some bugfixes in shift handling from SimplifyDemandedBits over to
ComputeMaskedBits.  DemandedMasks and KnownZero/One masks should never have
bits set out of the range of the base datatype.

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