diff options
author | Björn Gustavsson <[email protected]> | 2012-08-09 10:38:07 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2012-10-09 09:38:19 +0200 |
commit | c3b60f86c622ba6978564aa059d4d881b9549936 (patch) | |
tree | a447301e438f92ba9fa9ea640e821da9c8091cb8 /lib/gs/contribs/mandel | |
parent | 65dd6a4e10c5e1fed90d9a859454b1bf0040dc2c (diff) | |
download | otp-c3b60f86c622ba6978564aa059d4d881b9549936.tar.gz otp-c3b60f86c622ba6978564aa059d4d881b9549936.tar.bz2 otp-c3b60f86c622ba6978564aa059d4d881b9549936.zip |
beam_utils: Extend live_opt/1 to recalculate live registers in allocs
The code generator uses conservative liveness information. Therefore
the number of live registers in allocation instructions (such as
test_heap/2) may be too high. Use the actual liveness information
to lower the number of live register if it's too high.
The main reason we want to do this is to enable more optimizations
that depend on liveness analysis, such as the beam_bool and beam_dead
passes.
Diffstat (limited to 'lib/gs/contribs/mandel')
0 files changed, 0 insertions, 0 deletions