summaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineBasicBlock.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
commit670c889ac90e79fc6b1f9f18e78e536562d86f87 (patch)
tree3aebdcfeecdcf2d8f05b4d08150b03d3aee2b829 /lib/CodeGen/MachineBasicBlock.cpp
parentbb99fc42e3f7385dade07867ba1c1174f6d75453 (diff)
downloadllvm-670c889ac90e79fc6b1f9f18e78e536562d86f87.tar.gz
llvm-670c889ac90e79fc6b1f9f18e78e536562d86f87.tar.bz2
llvm-670c889ac90e79fc6b1f9f18e78e536562d86f87.tar.xz
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16842 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions