Enhance SROA to "promote to scalar" allocas which are
authorChris Lattner <sabre@nondot.org>
Sun, 8 Mar 2009 04:04:21 +0000 (04:04 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 8 Mar 2009 04:04:21 +0000 (04:04 +0000)
commitc570487d45f7426dc5f75c0309122d6f9330ecf7
treef5db2aab46ed29e65197b3774f08f411b9df9d86
parent4b1747430a2d67702958b95d6776396734f184a0
Enhance SROA to "promote to scalar" allocas which are
memcpy/memmove'd into or out of.  This fixes a serious
perf issue that Nate ran into.

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