Skip to content
  1. Oct 15, 2010
  2. Oct 14, 2010
  3. Oct 09, 2010
  4. Oct 08, 2010
    • Jakob Stoklund Olesen's avatar
      After splitting, the remaining LiveInterval may be fragmented into multiple · 0f1677e1
      Jakob Stoklund Olesen authored
      connected components. These components should be allocated different virtual
      registers because there is no reason for them to be allocated together.
      
      Add the ConnectedVNInfoEqClasses class to calculate the connected components,
      and move values to new LiveIntervals.
      
      Use it from SplitKit::rewrite by creating new virtual registers for the
      components.
      
      llvm-svn: 116006
      0f1677e1
  5. Oct 07, 2010
  6. Oct 06, 2010
  7. Oct 05, 2010
  8. Sep 25, 2010
  9. Sep 22, 2010
    • Jakob Stoklund Olesen's avatar
      Build the complement interval dupli after the split intervals instead of · 6f8bd42e
      Jakob Stoklund Olesen authored
      creating it before and subtracting split ranges.
      
      This way, the SSA update code in LiveIntervalMap can properly create and use new
      phi values in dupli. Now it is possible to create split regions where a value
      escapes along two different CFG edges, creating phi values outside the split
      region.
      
      This is a work in progress and probably quite broken.
      
      llvm-svn: 114492
      6f8bd42e
  10. Sep 16, 2010
    • Jakob Stoklund Olesen's avatar
      Use the value mapping provided by LiveIntervalMap. This simplifies the code a · 9855109b
      Jakob Stoklund Olesen authored
      great deal because we don't have to worry about maintaining SSA form.
      
      Unconditionally copy back to dupli when the register is live out of the split
      range, even if the live-out value was defined outside the range. Skipping the
      back-copy only makes sense when the live range is going to spill outside the
      split range, and we don't know that it will. Besides, this was a hack to avoid
      SSA update issues.
      
      Clear up some confusion about the end point of a half-open LiveRange. Methinks
      LiveRanges need to be closed so both start and end are included in the range.
      The low bits of a SlotIndex are symbolic, so a half-open range doesn't really
      make sense. This would be a pervasive change, though.
      
      llvm-svn: 114043
      9855109b
  11. Sep 14, 2010
  12. Sep 13, 2010
  13. Aug 19, 2010
    • Michael J. Spencer's avatar
      Fix the msvc 2010 build. · abca1734
      Michael J. Spencer authored
      The Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01
      implements parts of C++0x based on the draft standard. An old version of
      the draft had a bug that makes std::pair<T1*, T2*>(something, 0) fail to
      compile. This is because the template<class U, class V> pair(U&& x, V&& y)
      constructor is selected, even though it later fails to implicitly convert
      U and V to frist_type and second_type.
      
      This has been fixed in n3090, but it seems that Microsoft is not going to
      update msvc.
      
      llvm-svn: 111535
      abca1734
  14. Aug 18, 2010
  15. Aug 14, 2010
    • Jakob Stoklund Olesen's avatar
      Clean up the Spiller.h interface. · 27e1f265
      Jakob Stoklund Olesen authored
      The earliestStart argument is entirely specific to linear scan allocation, and
      can be easily calculated by RegAllocLinearScan.
      
      Replace std::vector with SmallVector.
      
      llvm-svn: 111055
      27e1f265
  16. Aug 13, 2010
  17. Aug 12, 2010
  18. Aug 10, 2010
    • Jakob Stoklund Olesen's avatar
      More debug spew · 62e72147
      Jakob Stoklund Olesen authored
      llvm-svn: 110720
      62e72147
    • Jakob Stoklund Olesen's avatar
      Implement register class inflation. · 53c50220
      Jakob Stoklund Olesen authored
      When splitting a live range, the new registers have fewer uses and the
      permissible register class may be less constrained. Recompute the register class
      constraint from the uses of new registers created for a split. This may let them
      be allocated from a larger set, possibly avoiding a spill.
      
      llvm-svn: 110703
      53c50220
Loading