OSDN Git Service

Vector-Select: Address one of the problems in pr10902. Add handling for the
authorNadav Rotem <nadav.rotem@intel.com>
Fri, 23 Sep 2011 09:33:24 +0000 (09:33 +0000)
committerNadav Rotem <nadav.rotem@intel.com>
Fri, 23 Sep 2011 09:33:24 +0000 (09:33 +0000)
commitc56d65f63cd632ef57d9f80b4539f15a2f937364
treefe4c87bb7c9fe045f7981a5ddbe274430e8f25cc
parent4da632e6e09b96db4b3f9202cde4e6ca732001c1
Vector-Select: Address one of the problems in pr10902. Add handling for the
integer-promotion of CONCAT_VECTORS.

Test: test/CodeGen/X86/widen_shuffle-1.ll

This patch fixes the above tests (when running in with -promote-elements).

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