Fix a regression in 403.gcc and 186.crafty introduced in 47383. To test
authorDan Gohman <gohman@apple.com>
Fri, 22 Feb 2008 01:12:31 +0000 (01:12 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 22 Feb 2008 01:12:31 +0000 (01:12 +0000)
commit9e255b7df5a0a629920706e086e78ef89bf2f183
tree1933cbd4994671a639c238e208caa3469b84d937
parent95cb2ad919043d8ec5dbcc36cd59ac7d9a46999f
Fix a regression in 403.gcc and 186.crafty introduced in 47383. To test
that a value is >= 32, check that all of the high bits are zero, not
just one or more.

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