Fix a bug in the integer-promotion of bitcast operations on vector types.
authorNadav Rotem <nadav.rotem@intel.com>
Thu, 8 Dec 2011 13:10:01 +0000 (13:10 +0000)
committerNadav Rotem <nadav.rotem@intel.com>
Thu, 8 Dec 2011 13:10:01 +0000 (13:10 +0000)
commit44bac7cd659090f15face5171e3c346983aeb521
tree5e99d7ec6f06d3210a866aae8cdf8759368a13a1
parent72590c973837f7d56638feb511a79574391f0eac
Fix a bug in the integer-promotion of bitcast operations on vector types.
We must not issue a bitcast operation for integer-promotion of vector types, because the
location of the values in the vector may be different.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146150 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
test/CodeGen/X86/2011-12-8-bitcastintprom.ll [new file with mode: 0644]
test/CodeGen/X86/vec_compare-2.ll
test/CodeGen/X86/widen_arith-3.ll