Fix PR3720 by properly propagating alignment information from memcpy/memmove
authorChris Lattner <sabre@nondot.org>
Wed, 4 Mar 2009 19:20:50 +0000 (19:20 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 4 Mar 2009 19:20:50 +0000 (19:20 +0000)
commit1541e0f7da2de6ae84434060df81e93b64000924
tree0d427acfb2eb2cb6e65190773d760b924519a84b
parent66941988de6a295649b33f4c2b0f36a094b2244d
Fix PR3720 by properly propagating alignment information from memcpy/memmove
onto element accesses.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66053 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/ScalarReplAggregates.cpp
test/Transforms/ScalarRepl/2009-03-04-MemCpyAlign.ll [new file with mode: 0644]