commit | ffd2526fa4e2d78564694b4797b96236c9ba9d85 | [log] [tgz] |
---|---|---|
author | Andrew Trick <atrick@apple.com> | Thu Aug 23 00:39:43 2012 +0000 |
committer | Andrew Trick <atrick@apple.com> | Thu Aug 23 00:39:43 2012 +0000 |
tree | f6fdbd259a559ad660bbed0283d600a2ace1758f | |
parent | fc4eafa0f490bd06d8191a2f007514b9e3ce0387 [diff] |
Simplify the computeOperandLatency API. The logic for recomputing latency based on a ScheduleDAG edge was shady. This bypasses the problem by requiring the client to provide operand indices. This ensures consistent use of the machine model's API. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162420 91177308-0d34-0410-b5e6-96231b3b80d8