Fix a bug in DAGCombine for the optimization of BUILD_VECTOR. We cant generate a...
authorNadav Rotem <nadav.rotem@intel.com>
Mon, 13 Feb 2012 12:42:26 +0000 (12:42 +0000)
committerNadav Rotem <nadav.rotem@intel.com>
Mon, 13 Feb 2012 12:42:26 +0000 (12:42 +0000)
commit0877fdf30bb626217f635547ca90741a8c7558ad
treeb40be49d410fe8754a65458b296215e233c917ae
parent4a5d7e300eef8d14fefac5ee78b5cc9ffca49293
Fix a bug in DAGCombine for the optimization of BUILD_VECTOR. We cant generate a shuffle node from two vectors of different types.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150383 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/X86/2012-02-12-dagco.ll [new file with mode: 0644]