OSDN Git Service

Update CalcLatency to work in terms of edge latencies, rather than
authorDan Gohman <gohman@apple.com>
Wed, 10 Dec 2008 00:24:36 +0000 (00:24 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 10 Dec 2008 00:24:36 +0000 (00:24 +0000)
commitf55a2101e300d1b4d420a1e71ca839e3146bdf70
treebb935760d52415fdb0a1a3515d57dcc40bb0a699
parent94ea5be39fe379cda3ff144a99b6a1a69a9fe2e2
Update CalcLatency to work in terms of edge latencies, rather than
node latencies. Use CalcLatency instead of manual code in
CalculatePriorities to keep it consistent. Previously it
computed slightly different results.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60817 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/LatencyPriorityQueue.h
lib/CodeGen/LatencyPriorityQueue.cpp