Skip to content
  1. Oct 27, 2008
    • Chris Lattner's avatar
      Rewrite all the 'PromoteLocallyUsedAlloca[s]' logic. With the power of · 59b56913
      Chris Lattner authored
      LargeBlockInfo, we can now dramatically simplify their implementation
      and speed them up at the same time.  Now the code has time proportional
      to the number of uses of the alloca, not the size of the block.
      
      This also eliminates code that tried to batch up different allocas which
      are used in the same blocks, and eliminates the 'retry list' logic which
      was baroque and no unneccesary.  In addition to being a speedup for crazy
      cases, this is also a nice cleanup:
      
      PromoteMemoryToRegister.cpp |  270 +++++++++++++++-----------------------------
       1 file changed, 96 insertions(+), 174 deletions(-)
      
      llvm-svn: 58229
      59b56913
    • Chris Lattner's avatar
      Add a new LargeBlockInfo helper, which is just a wrapper around · f594ecc4
      Chris Lattner authored
      a trivial dense map.  Use this in RewriteSingleStoreAlloca to
      avoid aggressively rescanning blocks over and over again.  This
      fixes PR2925, speeding up mem2reg on the testcase in that bug
      from 4.56s to 0.02s in a debug build on my machine.
      
      llvm-svn: 58227
      f594ecc4
    • Dale Johannesen's avatar
      Increase default setting of tail-merge-threshold to · 1d7e42c8
      Dale Johannesen authored
      150, based on llvm-test measurements.
      
      llvm-svn: 58225
      1d7e42c8
  2. Oct 26, 2008
  3. Oct 25, 2008
  4. Oct 24, 2008
  5. Oct 23, 2008
  6. Oct 22, 2008
Loading