commit | ec6906ba47d6d32cc817e85eddb87b320d6ae18c | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Sat Oct 23 02:10:46 2010 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Sat Oct 23 02:10:46 2010 +0000 |
tree | 838fc08e4513b0a5f6846a13e69f179902a09763 | |
parent | dd9dd6f857604abdeb5213648ffe50c10ccc59b9 [diff] |
Properly model the latency of register defs which are 1) function returns or 2) live-outs. Previously the post-RA schedulers completely ignore these dependencies since returns, branches, etc. are all scheduling barriers. This patch model the latencies between instructions being scheduled and the barriers. It also handle calls by marking their register uses. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117193 91177308-0d34-0410-b5e6-96231b3b80d8