Fix PromoteIntRes_TRUNCATE: Add support for cases where the
authorNadav Rotem <nadav.rotem@intel.com>
Mon, 20 Jun 2011 07:15:58 +0000 (07:15 +0000)
committerNadav Rotem <nadav.rotem@intel.com>
Mon, 20 Jun 2011 07:15:58 +0000 (07:15 +0000)
commit4720611025276f01b158a1522620391332ffdc32
tree8d827d8d38db46dc78dc2969ef8942405367fb6c
parent289a27946fc11ae6b5a9aa517639d94efa4d91d9
Fix PromoteIntRes_TRUNCATE: Add support for cases where the
source vector type is to be split while the target vector is to be promoted.
(eg: <4 x i64> -> <4 x i8> )

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133424 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
test/CodeGen/X86/promote-trunc.ll [new file with mode: 0644]