diff options
| author | jeffhao <jeffhao@google.com> | 2011-01-28 17:38:16 -0800 |
|---|---|---|
| committer | jeffhao <jeffhao@google.com> | 2011-01-28 17:38:16 -0800 |
| commit | 6ca2505711b24a91385c6bf46dbef5c404dcf65f (patch) | |
| tree | 1b59f31f398f7bb9cbeb9d1bb37b20a63c51ce1a /vm/compiler/codegen/arm/CodegenDriver.c | |
| parent | 1c1cdc8493fd75aa240e4f7382e54c088f75f7a6 (diff) | |
Changed reg allocator to try mapping phi sources/result to the same reg.
The current registor allocator is pretty greedy in how it chooses to
allocate registers. This change makes it attempt to try to map the
sources and result of a phi to the same register if one of them already
has a mapping and that mapping is compatible with the others. This saves
on some register shuffling when the original greedy method got unlucky.
Change-Id: I8afa430ce2ba8d034a9c0452a247d5943bc9cf37
Diffstat (limited to 'vm/compiler/codegen/arm/CodegenDriver.c')
0 files changed, 0 insertions, 0 deletions
