Use ComputeMaskedBits to determine # sign bits as a fallback. This allows us
authorChris Lattner <sabre@nondot.org>
Sat, 6 May 2006 23:48:13 +0000 (23:48 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 6 May 2006 23:48:13 +0000 (23:48 +0000)
commit822db93e57f9b8800268e8ba7b2cbc1234bc265c
tree18e0eeff2a652a79473d080df9c6eed949c2efea
parente60351bb72938117a0a0dd6fe2844381e9ec4ca9
Use ComputeMaskedBits to determine # sign bits as a fallback.  This allows us
to handle all kinds of stuff, including silly things like:
sextinreg(setcc,i16) -> setcc.

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