Skip to content
  • Andrew Trick's avatar
    misched: Added 3-level regpressure back-off. · 2202577d
    Andrew Trick authored
    Introduce the basic strategy for register pressure scheduling.
    
    1) Respect target limits at all times.
    
    2) Indentify critical register classes (pressure sets).
       Track pressure within the scheduled region.
       Avoid increasing scheduled pressure for critical registers.
    
    3) Avoid exceeding the max pressure of the region prior to scheduling.
    
    Added logic for picking between the top and bottom ready Q's based on
    regpressure heuristics.
    
    Status: functional but needs to be asjusted to achieve good results.
    llvm-svn: 157006
    2202577d
Loading