Fix PR11106 by correcting a typo that has been in the code for over a year. This
authorCameron Zwarich <zwarich@apple.com>
Tue, 11 Oct 2011 21:26:40 +0000 (21:26 +0000)
committerCameron Zwarich <zwarich@apple.com>
Tue, 11 Oct 2011 21:26:40 +0000 (21:26 +0000)
commitc055a8782ee66f6041cc00997857d98d6b9e9b4a
tree3ec6f540bfff68e937f23ad0811838cd94b87726
parentb07a3d68972039426a87f1cac82e348e3bb1877b
Fix PR11106 by correcting a typo that has been in the code for over a year. This
would have never worked, since the element type of a vector type is never a
vector type. Also fix the conditional to be more direct in checking whether
EltTy is a vector type.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141713 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/ScalarReplAggregates.cpp
test/Transforms/ScalarRepl/2011-10-11-VectorMemset.ll [new file with mode: 0644]