diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-04-30 18:39:57 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-04-30 18:39:57 +0000 |
commit | 0490dcb1b73f2668ad12b7f45962500aaa3fc471 (patch) | |
tree | 4bfd2da0775b963eb096c1565ded282c5b50b313 /include | |
parent | 440548dd1f78682e372a38cacccf7c5ac1781b2c (diff) | |
download | external_llvm-0490dcb1b73f2668ad12b7f45962500aaa3fc471.zip external_llvm-0490dcb1b73f2668ad12b7f45962500aaa3fc471.tar.gz external_llvm-0490dcb1b73f2668ad12b7f45962500aaa3fc471.tar.bz2 |
Add a smarter heuristic to determine when to coalesce a virtual register with a physical one. More specifically, it avoid tying a virtual register in the loop with a physical register defined / used outside the loop. When it determines it's not profitable, it will use the physical register as the allocation preference instead.
This is *not* turned on by default. Testing indicates this is just as likely to pessimize code. The main issue seems to be allocation preference doesn't work effectively. That will change once I've taught register allocator "swapping".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70503 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions