Fix for PR1075: bottom-up register-reduction scheduling actually increases register...
authorEvan Cheng <evan.cheng@apple.com>
Mon, 8 Jan 2007 23:50:38 +0000 (23:50 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 8 Jan 2007 23:50:38 +0000 (23:50 +0000)
commitc62d4bb6952a1459f10aa93579e1b881d42a33ea
tree3aa141c729c02f40ff81d6fa3b4690e050df3230
parentddae4bd68358df7415d532e6930c0ba9c60f6cb5
Fix for PR1075: bottom-up register-reduction scheduling actually increases register pressure.
- Fixed bugs in sethi-ullman number computation and priority queue comparison
functions.
- Separate code that handles priority computation special cases from SU number computation.

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