aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/arm/CodegenDriver.c
diff options
context:
space:
mode:
authorjeffhao <jeffhao@google.com>2011-01-28 17:38:16 -0800
committerjeffhao <jeffhao@google.com>2011-01-28 17:38:16 -0800
commit6ca2505711b24a91385c6bf46dbef5c404dcf65f (patch)
tree1b59f31f398f7bb9cbeb9d1bb37b20a63c51ce1a /vm/compiler/codegen/arm/CodegenDriver.c
parent1c1cdc8493fd75aa240e4f7382e54c088f75f7a6 (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