Skip to content
  1. Dec 15, 2010
  2. Dec 14, 2010
  3. Dec 13, 2010
  4. Dec 12, 2010
  5. Dec 11, 2010
  6. Dec 10, 2010
  7. Dec 09, 2010
  8. Dec 08, 2010
    • Jakob Stoklund Olesen's avatar
      Implement very primitive hinting support in RegAllocGreedy. · eaa650a9
      Jakob Stoklund Olesen authored
      The hint is simply tried first and then forgotten if it couldn't be allocated
      immediately.
      
      llvm-svn: 121306
      eaa650a9
    • Jakob Stoklund Olesen's avatar
      Store (priority,regnum) pairs in the priority queue instead of providing an · e0df786c
      Jakob Stoklund Olesen authored
      abstract priority queue interface in subclasses that want to override the
      priority calculations.
      
      Subclasses must provide a getPriority() implementation instead.
      
      This approach requires less code as long as priorities are expressable as simple
      floats, and it avoids the dangers of defining potentially expensive priority
      comparison functions.
      
      It also should speed up priority_queue operations since they no longer have to
      chase pointers when comparing registers. This is not measurable, though.
      
      Preferably, we shouldn't use floats to guide code generation. The use of floats
      here is derived from the use of floats for spill weights. Spill weights have a
      dynamic range that doesn't lend itself easily to a fixpoint implementation.
      
      When someone invents a stable spill weight representation, it can be reused for
      allocation priorities.
      
      llvm-svn: 121294
      e0df786c
    • Eric Christopher's avatar
      Reword comment slightly. · 1b93e7b4
      Eric Christopher authored
      llvm-svn: 121293
      1b93e7b4
    • Eric Christopher's avatar
      Fix comment. · 66a8bf57
      Eric Christopher authored
      llvm-svn: 121285
      66a8bf57
    • Jakob Stoklund Olesen's avatar
      Trim includes. · 310916a2
      Jakob Stoklund Olesen authored
      llvm-svn: 121283
      310916a2
Loading