Skip to content
  1. Oct 08, 2004
  2. Oct 07, 2004
    • Chris Lattner's avatar
      Improve comments, no functionality changes · 617f1a34
      Chris Lattner authored
      llvm-svn: 16814
      617f1a34
    • Chris Lattner's avatar
      Fix a bug in the safety analysis routine · 02b6c918
      Chris Lattner authored
      llvm-svn: 16804
      02b6c918
    • Chris Lattner's avatar
      * Rename pass to globalopt, since we do more than just constify · 25db5803
      Chris Lattner authored
      * 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.
      
      llvm-svn: 16802
      25db5803
Loading