OSDN Git Service

Speed-up the SumOfUnscheduledPredsOfSuccs by introducing a new function
authorRoman Levenstein <romix.llvm@googlemail.com>
Thu, 27 Mar 2008 09:14:57 +0000 (09:14 +0000)
committerRoman Levenstein <romix.llvm@googlemail.com>
Thu, 27 Mar 2008 09:14:57 +0000 (09:14 +0000)
commit95d4184e7218d7ec21b5b8d693dd3b14146eefdc
tree89abde9eaa522b8d8369934dffe4fd3e9b415dc2
parent9ba8a5736a9140232629fdbbad7b7c5c2bd5ffcb
Speed-up the SumOfUnscheduledPredsOfSuccs by introducing a new function
called LimitedSumOfUnscheduledPredsOfSuccs. It terminates the computation
after a given treshold is reached. This new function is always faster, but
brings real wins only on bigger test-cases.

The old function SumOfUnscheduledPredsOfSuccs is left in-place for now and therefore a warning about an unused static function is produced.

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