Fix the second half of PR7437: scalarrepl wasn't preserving
authorChris Lattner <sabre@nondot.org>
Thu, 8 Jul 2010 00:27:05 +0000 (00:27 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 8 Jul 2010 00:27:05 +0000 (00:27 +0000)
commit0238f8c430050d23ef861169bb4c4f930af0ef97
tree415823c526a27c9714b2e3f9d080061a6d0379d5
parent49dcb0f9ec865fd5474e5b552723adab2d7bf840
Fix the second half of PR7437: scalarrepl wasn't preserving
address spaces when SRoA'ing memcpy's.

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