diff options
author | Chris Lattner <sabre@nondot.org> | 2004-10-07 04:16:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-10-07 04:16:33 +0000 |
commit | 7a90b68e5c85fe11a4ccc386be9c5fcddd4a8b61 (patch) | |
tree | e5eee8f5a63c8475e8c833b8bbd000e6ad9456a0 /lib/Transforms/IPO/LowerSetJmp.cpp | |
parent | 93a00e4ceb810639ec8dfb7985fad76c1ffba8c1 (diff) |
* Rename pass to globalopt, since we do more than just constify
* Instead of handling dead functions specially, just nuke them.
* Be more aggressive about cleaning up after constification, in
particular, handle getelementptr instructions and constantexprs.
* Be a little bit more structured about how we process globals.
*** Delete globals that are only stored to, and never read. These are
clearly not useful, so they should go. This implements deadglobal.llx
This last one triggers quite a few times. In particular, 2208 in the
external tests, 1865 of which are in 252.eon. This shrinks eon from
1995094 to 1732341 bytes of bytecode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16802 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/LowerSetJmp.cpp')
0 files changed, 0 insertions, 0 deletions