Skip to content
  • Chris Lattner's avatar
    Implement SRA for global variables. This allows the other global variable · abab0719
    Chris Lattner authored
    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
    abab0719
Loading