diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-08-21 08:39:44 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-08-21 08:39:44 +0000 |
commit | ec68f552f2a5c1df10813a80929995185eb98243 (patch) | |
tree | c3960340d84c9a4b85f2719aaa6f95d81d43a25c /test/Assembler/vector-shift.ll | |
parent | 4dea906e1aa019b8fdb999744bf1cf8333b85890 (diff) | |
download | external_llvm-ec68f552f2a5c1df10813a80929995185eb98243.zip external_llvm-ec68f552f2a5c1df10813a80929995185eb98243.tar.gz external_llvm-ec68f552f2a5c1df10813a80929995185eb98243.tar.bz2 |
Port the global copy optimization from the SROA pass to InstCombine.
This optimization is really just replacing allocas wholesale with
globals, there is no scalarization.
The underlying motivation for this patch is to simplify the SROA pass
and focus it on splitting and promoting allocas.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162271 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler/vector-shift.ll')
0 files changed, 0 insertions, 0 deletions