Skip to content
  1. Sep 12, 2009
  2. Sep 04, 2009
  3. Aug 23, 2009
  4. Aug 11, 2009
  5. Jul 24, 2009
  6. Jul 23, 2009
    • David Greene's avatar
      · 1164d1f2
      David Greene authored
      Reorder if-else branches as suggested by Bill.
      
      llvm-svn: 76808
      1164d1f2
  7. Jul 22, 2009
    • David Greene's avatar
      · 1e2a04ba
      David Greene authored
      Make some changes suggested by Bill and Evan.
      
      llvm-svn: 76775
      1e2a04ba
    • David Greene's avatar
      · 34242753
      David Greene authored
      Add some support for iterative coalescers to calculate a joined live
      range's weight properly.  This is turned off right now in the sense that
      you'll get an assert if you get into a situation that can only be caused
      by an iterative coalescer.  All other code paths operate exactly as
      before so there is no functional change with this patch.  The asserts
      should be disabled if/when an iterative coalescer gets added to trunk.
      
      llvm-svn: 76680
      34242753
  8. Jul 09, 2009
    • Lang Hames's avatar
      Improved tracking of value number kills. VN kills are now represented · dab7b06d
      Lang Hames authored
      as an (index,bool) pair. The bool flag records whether the kill is a
      PHI kill or not. This code will be used to enable splitting of live
      intervals containing PHI-kills.
      
      A slight change to live interval weights introduced an extra spill
      into lsr-code-insertion (outside the critical sections). The test 
      condition has been updated to reflect this.
      
      llvm-svn: 75097
      dab7b06d
  9. Jun 24, 2009
  10. Jun 17, 2009
  11. Jun 15, 2009
    • Evan Cheng's avatar
      Part 1. · 1283c6a0
      Evan Cheng authored
      - Change register allocation hint to a pair of unsigned integers. The hint type is zero (which means prefer the register specified as second part of the pair) or entirely target dependent.
      - Allow targets to specify alternative register allocation orders based on allocation hint.
      
      Part 2.
      - Use the register allocation hint system to implement more aggressive load / store multiple formation.
      - Aggressively form LDRD / STRD. These are formed *before* register allocation. It has to be done this way to shorten live interval of base and offset registers. e.g.
      v1025 = LDR v1024, 0
      v1026 = LDR v1024, 0
      =>
      v1025,v1026 = LDRD v1024, 0
      
      If this transformation isn't done before allocation, v1024 will overlap v1025 which means it more difficult to allocate a register pair.
      
      - Even with the register allocation hint, it may not be possible to get the desired allocation. In that case, the post-allocation load / store multiple pass must fix the ldrd / strd instructions. They can either become ldm / stm instructions or back to a pair of ldr / str instructions.
      
      This is work in progress, not yet enabled.
      
      llvm-svn: 73381
      1283c6a0
  12. Jun 14, 2009
  13. Jun 02, 2009
  14. Apr 28, 2009
  15. Apr 27, 2009
  16. Apr 25, 2009
  17. Apr 18, 2009
  18. Apr 08, 2009
    • Dan Gohman's avatar
      Implement support for using modeling implicit-zero-extension on x86-64 · ad3e549a
      Dan Gohman authored
      with SUBREG_TO_REG, teach SimpleRegisterCoalescing to coalesce
      SUBREG_TO_REG instructions (which are similar to INSERT_SUBREG
      instructions), and teach the DAGCombiner to take advantage of this on
      targets which support it. This eliminates many redundant
      zero-extension operations on x86-64.
      
      This adds a new TargetLowering hook, isZExtFree. It's similar to
      isTruncateFree, except it only applies to actual definitions, and not
      no-op truncates which may not zero the high bits.
      
      Also, this adds a new optimization to SimplifyDemandedBits: transform
      operations like x+y into (zext (add (trunc x), (trunc y))) on targets
      where all the casts are no-ops. In contexts where the high part of the
      add is explicitly masked off, this allows the mask operation to be
      eliminated. Fix the DAGCombiner to avoid undoing these transformations
      to eliminate casts on targets where the casts are no-ops.
      
      Also, this adds a new two-address lowering heuristic. Since
      two-address lowering runs before coalescing, it helps to be able to
      look through copies when deciding whether commuting and/or
      three-address conversion are profitable.
      
      Also, fix a bug in LiveInterval::MergeInClobberRanges. It didn't handle
      the case that a clobber range extended both before and beyond an
      existing live range. In that case, multiple live ranges need to be
      added. This was exposed by the new subreg coalescing code.
      
      Remove 2008-05-06-SpillerBug.ll. It was bugpoint-reduced, and the
      spiller behavior it was looking for no longer occurrs with the new
      instruction selection.
      
      llvm-svn: 68576
      ad3e549a
  19. Mar 11, 2009
    • Evan Cheng's avatar
      Two coalescer fixes in one. · 64b3f9d7
      Evan Cheng authored
      1. Use the same value# to represent unknown values being merged into sub-registers.
      2. When coalescer commute an instruction and the destination is a physical register, update its sub-registers by merging in the extended ranges.
      
      llvm-svn: 66610
      64b3f9d7
  20. Feb 02, 2009
  21. Jan 29, 2009
  22. Sep 24, 2008
  23. Sep 19, 2008
  24. Aug 14, 2008
  25. Jun 23, 2008
  26. Jun 04, 2008
  27. Feb 26, 2008
  28. Feb 20, 2008
  29. Feb 15, 2008
  30. Feb 13, 2008
  31. Feb 10, 2008
  32. Jan 30, 2008
  33. Jan 14, 2008
  34. Dec 29, 2007
  35. Nov 29, 2007
Loading