summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/Function.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-10-08 17:32:09 +0000
committerChris Lattner <sabre@nondot.org>2004-10-08 17:32:09 +0000
commitabab0719af8b758494fb44ecc24dfac3ab78dd13 (patch)
treea13a3a736859196b82e59435765500feff269ee2 /llvm/lib/VMCore/Function.cpp
parent6935f560a566b3e1603a59b2e5504da26364fe00 (diff)
downloadbcm5719-llvm-abab0719af8b758494fb44ecc24dfac3ab78dd13.tar.gz
bcm5719-llvm-abab0719af8b758494fb44ecc24dfac3ab78dd13.zip
Implement SRA for global variables. This allows the other global variable
optimizations to trigger much more often. This allows the elimination of several dozen more global variables in Programs/External. Note that we only do this for non-constant globals: constant globals will already be optimized out if the accesses to them permit it. This implements Transforms/GlobalOpt/globalsra.llx llvm-svn: 16842
Diffstat (limited to 'llvm/lib/VMCore/Function.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud