fix PR6832: we were using the alignment of a pointer when we
authorChris Lattner <sabre@nondot.org>
Fri, 16 Apr 2010 01:05:38 +0000 (01:05 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 16 Apr 2010 01:05:38 +0000 (01:05 +0000)
commitd55c1c16598eba6111fb3a5b6e5dbc6469a562f7
tree0831bf28c0a42e115e4a9b0b02bf069d517ac0f3
parentaa08c55e1834acb64a6dbaf2392d87feb2e9f7ba
fix PR6832: we were using the alignment of a pointer when we
wanted the alignment of the pointee.

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