aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-08-21 08:39:44 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-08-21 08:39:44 +0000
commitc908ca176674aace45e83fcd2fd04980e412f0c0 (patch)
tree76f50c8b33fa4980247375e7a2b16b7c40a88d06 /llvm/lib/CodeGen/StackProtector.cpp
parentbab0c766746c1398cc2b33c8563a768fb71ea555 (diff)
downloadllvm-c908ca176674aace45e83fcd2fd04980e412f0c0.zip
llvm-c908ca176674aace45e83fcd2fd04980e412f0c0.tar.gz
llvm-c908ca176674aace45e83fcd2fd04980e412f0c0.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. llvm-svn: 162271
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions