summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/VirtRegMap.h
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-05-17 18:35:10 +0000
committerAndrew Trick <atrick@apple.com>2012-05-17 18:35:10 +0000
commit2202577d80bd0afbf5451353dd05afd8464e396b (patch)
tree578c952e80814a54a9d6038eea1ec6a12992018f /llvm/lib/CodeGen/VirtRegMap.h
parent47a1feaea06bbda8c3a3c6a473356ab5379e72df (diff)
downloadbcm5719-llvm-2202577d80bd0afbf5451353dd05afd8464e396b.tar.gz
bcm5719-llvm-2202577d80bd0afbf5451353dd05afd8464e396b.zip
misched: Added 3-level regpressure back-off.
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
Diffstat (limited to 'llvm/lib/CodeGen/VirtRegMap.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud