Fix a crash in EvaluateInDifferentElementOrder where it would generate an
authorJoey Gouly <joey.gouly@arm.com>
Fri, 12 Jul 2013 23:08:06 +0000 (23:08 +0000)
committerJoey Gouly <joey.gouly@arm.com>
Fri, 12 Jul 2013 23:08:06 +0000 (23:08 +0000)
commitebe11477225cc2793b43073bddc17f484839e006
tree7c1d2eec791522d800dbdfa9d8daec21d2c8ebea
parentae24f7d3c6770fb32eb1f6215bab1fc92cbe2d94
Fix a crash in EvaluateInDifferentElementOrder where it would generate an
undef vector of the wrong type.

LGTM'd by Nick Lewycky on IRC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186224 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
test/Transforms/InstCombine/vec_shuffle.ll