Fix sign_extend and zero_extend of promoted value types to expanded value
authorChris Lattner <sabre@nondot.org>
Sun, 3 Apr 2005 23:41:52 +0000 (23:41 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 3 Apr 2005 23:41:52 +0000 (23:41 +0000)
commit06098e0e9bd542f227aa3802768d1416e79e9f45
treedc1d054246f4936450f7c69cabbe9e5275e3a640
parent6644d4c9335f0e31ffdf317e9db59a18f1870564
Fix sign_extend and zero_extend of promoted value types to expanded value
types.  This occurs when casting short to long on PPC for example.

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