diff options
author | Nadav Rotem <nadav.rotem@intel.com> | 2011-09-23 09:33:24 +0000 |
---|---|---|
committer | Nadav Rotem <nadav.rotem@intel.com> | 2011-09-23 09:33:24 +0000 |
commit | c56d65f63cd632ef57d9f80b4539f15a2f937364 (patch) | |
tree | fe4c87bb7c9fe045f7981a5ddbe274430e8f25cc /lib/CodeGen/SelectionDAG/LegalizeTypes.h | |
parent | 4da632e6e09b96db4b3f9202cde4e6ca732001c1 (diff) | |
download | external_llvm-c56d65f63cd632ef57d9f80b4539f15a2f937364.zip external_llvm-c56d65f63cd632ef57d9f80b4539f15a2f937364.tar.gz external_llvm-c56d65f63cd632ef57d9f80b4539f15a2f937364.tar.bz2 |
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
Diffstat (limited to 'lib/CodeGen/SelectionDAG/LegalizeTypes.h')
-rw-r--r-- | lib/CodeGen/SelectionDAG/LegalizeTypes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeTypes.h b/lib/CodeGen/SelectionDAG/LegalizeTypes.h index cf13abc..1f0d1f0 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeTypes.h +++ b/lib/CodeGen/SelectionDAG/LegalizeTypes.h @@ -224,6 +224,7 @@ private: SDValue PromoteIntRes_BUILD_VECTOR(SDNode *N); SDValue PromoteIntRes_SCALAR_TO_VECTOR(SDNode *N); SDValue PromoteIntRes_INSERT_VECTOR_ELT(SDNode *N); + SDValue PromoteIntRes_CONCAT_VECTORS(SDNode *N); SDValue PromoteIntRes_BITCAST(SDNode *N); SDValue PromoteIntRes_BSWAP(SDNode *N); SDValue PromoteIntRes_BUILD_PAIR(SDNode *N); |