Fix a bug that andrew noticed where we do not correctly sign/zero extend
authorChris Lattner <sabre@nondot.org>
Tue, 29 Mar 2005 19:09:56 +0000 (19:09 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 29 Mar 2005 19:09:56 +0000 (19:09 +0000)
commitf51d3bd6769d46e7cf7beaa283d1ca449629bd32
treeaeaf2573a3dc1aeb27546dfa84b37283defb5425
parentcfba7981eb119488788f5d35cb50f36a65acd8a8
Fix a bug that andrew noticed where we do not correctly sign/zero extend
returned integer values all of the way to 64-bits (we only did it to 32-bits
leaving the top bits undefined).  This causes problems for targets like alpha
whose ABI's define the top bits too.

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