Fix an invalid bitcast crash that occurs when doing a partial memset of a vector
authorCameron Zwarich <zwarich@apple.com>
Sat, 18 Jun 2011 05:47:49 +0000 (05:47 +0000)
committerCameron Zwarich <zwarich@apple.com>
Sat, 18 Jun 2011 05:47:49 +0000 (05:47 +0000)
commit6be41eb7f00319f5ffa1a5435dcd1e81b3ce932d
tree7d680994c23dd3fdf0b30512b4f8fa0c20448e92
parentaab3ea244cb014beb21c112729034879a5d4e5ee
Fix an invalid bitcast crash that occurs when doing a partial memset of a vector
alloca. Fixes part of <rdar://problem/9580800>.

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