Skip to content
  1. Sep 30, 2010
  2. Sep 29, 2010
  3. Sep 28, 2010
  4. Sep 27, 2010
  5. Sep 25, 2010
    • Owen Anderson's avatar
      LoadPRE was not properly checking that the load it was PRE'ing post-dominated... · b590a927
      Owen Anderson authored
      LoadPRE was not properly checking that the load it was PRE'ing post-dominated the block it was being hoisted to.
      Splitting critical edges at the merge point only addressed part of the issue; it is also possible for non-post-domination
      to occur when the path from the load to the merge has branches in it.  Unfortunately, full anticipation analysis is
      time-consuming, so for now approximate it.  This is strictly more conservative than real anticipation, so we will miss
      some cases that real PRE would allow, but we also no longer insert loads into paths where they didn't exist before. :-)
      
      This is a very slight net positive on SPEC for me (0.5% on average).  Most of the benchmarks are largely unaffected, but
      when it pays off it pays off decently: 181.mcf improves by 4.5% on my machine.
      
      llvm-svn: 114785
      b590a927
    • Eric Christopher's avatar
      If we're changing the source of a memcpy we need to use the alignment · ebacd2b0
      Eric Christopher authored
      of the source, not the original alignment since it may no longer
      be valid.
      
      Fixes rdar://8400094
      
      llvm-svn: 114781
      ebacd2b0
  6. Sep 23, 2010
  7. Sep 22, 2010
  8. Sep 21, 2010
  9. Sep 18, 2010
  10. Sep 16, 2010
  11. Sep 14, 2010
  12. Sep 13, 2010
  13. Sep 11, 2010
  14. Sep 10, 2010
  15. Sep 09, 2010
  16. Sep 08, 2010
  17. Sep 06, 2010
    • Chris Lattner's avatar
      fix PR8067, an over-aggressive assertion in LICM. · be901909
      Chris Lattner authored
      llvm-svn: 113146
      be901909
    • Chris Lattner's avatar
      Teach loop rotate to hoist trivially invariant instructions · b01c24a9
      Chris Lattner authored
      in the duplicated block instead of duplicating them.  
      
      Duplicating them into the end of the loop and the preheader 
      means that we got a phi node in the header of the loop, 
      which prevented LICM from hoisting them.  GVN would
      usually come around later and merge the duplicated 
      instructions so we'd get reasonable output... except that
      anything dependent on the shoulda-been-hoisted value can't
      be hoisted.  In PR5319 (which this fixes), a memory value
      didn't get promoted.
      
      llvm-svn: 113134
      b01c24a9
    • Chris Lattner's avatar
      pull a simple method out of LICM into a new · da24b9a4
      Chris Lattner authored
      Loop::hasLoopInvariantOperands method. Remove
      a useless and confusing Loop::isLoopInvariant(Instruction)
      method, which didn't do what you thought it did.
      
      No functionality change.
      
      llvm-svn: 113133
      da24b9a4
  18. Sep 05, 2010
  19. Sep 04, 2010
Loading