Skip to content
  1. Jun 17, 2011
    • Jakob Stoklund Olesen's avatar
      Rename TRI::getAllocationOrder() to getRawAllocationOrder(). · 801f7ab3
      Jakob Stoklund Olesen authored
      Also switch the return type to ArrayRef<unsigned> which works out nicely
      for ARM's implementation of this function because of the clever ArrayRef
      constructors.
      
      The name change indicates that the returned allocation order may contain
      reserved registers as has been the case for a while.
      
      llvm-svn: 133216
      801f7ab3
  2. Jun 06, 2011
    • Jakob Stoklund Olesen's avatar
      Get allocation orders from RegisterClassInfo when possible. · 0cde8eb9
      Jakob Stoklund Olesen authored
      Only target-dependent hints require callbacks. The RCI allocation order
      has CSR aliases last according to their order of appearance in the
      getCalleeSavedRegs list. This can depend on the calling convention.
      
      This way, AllocationOrder::next doesn't have to check for reserved
      registers, and CSRs are always allocated last, even with weird calling
      conventions.
      
      llvm-svn: 132690
      0cde8eb9
  3. Jun 03, 2011
  4. Jan 10, 2011
  5. Dec 10, 2010
Loading