Skip to content
  1. Mar 20, 2011
  2. Mar 17, 2011
  3. Mar 12, 2011
    • Jakob Stoklund Olesen's avatar
      That's it, I am declaring this a failure of the C++03 STL. · dae1dc1f
      Jakob Stoklund Olesen authored
      There are too many compatibility problems with using mixed types in
      std::upper_bound, and I don't want to spend 110 lines of boilerplate setting up
      a call to a 10-line function. Binary search is not /that/ hard to implement
      correctly.
      
      I tried terminating the binary search with a linear search, but that actually
      made the algorithm slower against my expectation. Most live intervals have less
      than 4 segments. The early test against endIndex() does pay, and this version is
      25% faster than plain std::upper_bound().
      
      llvm-svn: 127522
      dae1dc1f
  4. Mar 11, 2011
  5. Mar 08, 2011
  6. Mar 03, 2011
  7. Mar 02, 2011
  8. Jan 19, 2011
    • Jakob Stoklund Olesen's avatar
      Implement RAGreedy::splitAroundRegion and remove loop splitting. · 9fb04015
      Jakob Stoklund Olesen authored
      Region splitting includes loop splitting as a subset, and it is more generic.
      The splitting heuristics for variables that are live in more than one block are
      now:
      
      1. Try to create a region that covers multiple basic blocks.
      2. Try to create a new live range for each block with multiple uses.
      3. Spill.
      
      Steps 2 and 3 are similar to what the standard spiller is doing.
      
      llvm-svn: 123853
      9fb04015
  9. Jan 09, 2011
  10. Dec 21, 2010
  11. Dec 19, 2010
  12. Oct 29, 2010
  13. Oct 09, 2010
  14. Oct 08, 2010
  15. Oct 05, 2010
  16. Oct 02, 2010
  17. Sep 25, 2010
  18. Sep 21, 2010
  19. Sep 08, 2010
  20. Sep 04, 2010
    • Jakob Stoklund Olesen's avatar
      Remove dead code. · 313358fe
      Jakob Stoklund Olesen authored
      Clobber ranges are no longer used when joining physical registers.
      Instead, all aliases are checked for interference.
      
      llvm-svn: 113084
      313358fe
  21. Aug 12, 2010
  22. Aug 10, 2010
    • Jakob Stoklund Olesen's avatar
      Transpose the calculation of spill weights such that we are calculating one · e00c49da
      Jakob Stoklund Olesen authored
      register at a time. This turns out to be slightly faster than iterating over
      instructions, but more importantly, it allows us to compute spill weights for
      new registers created after the spill weight pass has run.
      
      Also compute the allocation hint at the same time as the spill weight. This
      allows us to use the spill weight as a cost metric for copies, and choose the
      most profitable hint if there is more than one possibility.
      
      The new hints provide a very small (< 0.1%) but universal code size improvement.
      
      llvm-svn: 110631
      e00c49da
  23. Aug 06, 2010
  24. Aug 02, 2010
  25. Jul 26, 2010
  26. Jul 13, 2010
  27. Jun 29, 2010
Loading