Initial support for register pressure aware scheduling. The register reduction
authorEvan Cheng <evan.cheng@apple.com>
Thu, 4 May 2006 19:16:39 +0000 (19:16 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 4 May 2006 19:16:39 +0000 (19:16 +0000)
commit14a6db8bd9c83f5fa1821c133f43ccaebdebef91
treedc40fb65599f306489abacedb4fbe3b42124765d
parent943b5e117fe9a087f9aa529a2632c2d32cc22374
Initial support for register pressure aware scheduling. The register reduction
scheduler can go into a "vertical mode" (i.e. traversing up the two-address
chain, etc.) when the register pressure is low.
This does seem to reduce the number of spills in the cases I've looked at. But
with x86, it's no guarantee the performance of the code improves.
It can be turned on with -sched-vertically option.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28108 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp