Fix an assertion failure when optimising a shufflevector incorrectly into concat_vect...
authorJames Molloy <james.molloy@arm.com>
Mon, 10 Sep 2012 14:01:21 +0000 (14:01 +0000)
committerJames Molloy <james.molloy@arm.com>
Mon, 10 Sep 2012 14:01:21 +0000 (14:01 +0000)
commit8cd08bf4ac67b9d711fd1f72e6f5e00425d8c6ad
tree929d49c75823f91b9992bc4a92e0111356c982bd
parentff1b63172d22c148c9180a546262f61a8c334974
Fix an assertion failure when optimising a shufflevector incorrectly into concat_vectors, and a followup bug with SelectionDAG::getNode() creating nodes with invalid types.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163511 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
test/CodeGen/ARM/crash-shufflevector.ll [new file with mode: 0644]