diff options
| author | Chris Lattner <sabre@nondot.org> | 2004-10-08 17:32:09 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2004-10-08 17:32:09 +0000 |
| commit | abab0719af8b758494fb44ecc24dfac3ab78dd13 (patch) | |
| tree | a13a3a736859196b82e59435765500feff269ee2 /llvm/lib/VMCore/Function.cpp | |
| parent | 6935f560a566b3e1603a59b2e5504da26364fe00 (diff) | |
| download | bcm5719-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

