Skip to content
Commit c908ca17 authored by Chandler Carruth's avatar Chandler Carruth
Browse files

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.

llvm-svn: 162271
parent bab0c766
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment