Add a dagcombine optimization to convert concat_vectors of undefs into a single undef.
authorNadav Rotem <nadav.rotem@intel.com>
Sat, 14 Jul 2012 21:30:27 +0000 (21:30 +0000)
committerNadav Rotem <nadav.rotem@intel.com>
Sat, 14 Jul 2012 21:30:27 +0000 (21:30 +0000)
commitb7e230d999deec5c90ee51a7c2bbc6ee5be0a914
treec0505b116ffc3e1e9cc850dddd28b7cdab114bc6
parent27982e110817e373ed85064eb844bbaec0fe6771
Add a dagcombine optimization to convert concat_vectors of undefs into a single undef.
The unoptimized concat_vectors isd prevented the canonicalization of the vector_shuffle node.

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