diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2007-03-13 23:25:11 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2007-03-13 23:25:11 +0000 |
| commit | 287485530282fa718e4cbab9e54bef19943f6f6c (patch) | |
| tree | 83136adfa2aa6e95e76964f1be10167c9af43c57 /llvm/lib/Transforms/Utils/ValueMapper.cpp | |
| parent | 72a8bcf2384776ce9419b49114f2f6682d82b693 (diff) | |
| download | bcm5719-llvm-287485530282fa718e4cbab9e54bef19943f6f6c.tar.gz bcm5719-llvm-287485530282fa718e4cbab9e54bef19943f6f6c.zip | |
Try schedule def + use closer whne Sethi-Ullman numbers are the same.
e.g.
t1 = op t2, c1
t3 = op t4, c2
and the following instructions are both ready.
t2 = op c3
t4 = op c4
Then schedule t2 = op first.
i.e.
t4 = op c4
t2 = op c3
t1 = op t2, c1
t3 = op t4, c2
This creates more short live intervals which work better with the register
allocator.
llvm-svn: 35089
Diffstat (limited to 'llvm/lib/Transforms/Utils/ValueMapper.cpp')
0 files changed, 0 insertions, 0 deletions

