OSDN Git Service

Replace one of burr scheduling heuristic with something more sensible. Now calcMaxScr...
authorEvan Cheng <evan.cheng@apple.com>
Thu, 12 Feb 2009 08:59:45 +0000 (08:59 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 12 Feb 2009 08:59:45 +0000 (08:59 +0000)
commit8182347d70413174f2e80ea429801e887aee5cc3
treea555339349eea881aecd0db35cbf8db80e15eaee
parente0a056b1fffba3133f1343034c359382954c182a
Replace one of burr scheduling heuristic with something more sensible. Now calcMaxScratches simply compute the number of true data dependencies. This actually improve a couple of tests in dejagnu suite as many tests in llvm nightly test suite.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64369 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
test/CodeGen/ARM/2008-11-19-ScavengerAssert.ll
test/CodeGen/X86/2008-08-05-SpillerBug.ll