Do some simple copy propagation through integer loads and stores when promoting
authorCameron Zwarich <zwarich@apple.com>
Tue, 29 Mar 2011 05:19:52 +0000 (05:19 +0000)
committerCameron Zwarich <zwarich@apple.com>
Tue, 29 Mar 2011 05:19:52 +0000 (05:19 +0000)
commit9827b78b51f285e90c2b1e5add9b28d10c88595c
tree8874e9292f3420d47b8f6188b42934c3be18eaf1
parentad7d8a598b17452138c20f7a7acdcd7e1f0053d8
Do some simple copy propagation through integer loads and stores when promoting
vector types. This helps a lot with inlined functions when using the ARM soft
float ABI. Fixes <rdar://problem/9184212>.

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