aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/info
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-09-22 06:14:36 +0200
committerBjörn Gustavsson <[email protected]>2015-09-28 10:26:39 +0200
commit58a0c1c6c7efdb1f1250edec1b5fcd5eb72e99b9 (patch)
treea7f327cfe47316dfef8bbf52d93f76453b6f8bfc /lib/tools/info
parent8372f56a06ef24cf4455a54e15d876ab6ca8c570 (diff)
downloadotp-58a0c1c6c7efdb1f1250edec1b5fcd5eb72e99b9.tar.gz
otp-58a0c1c6c7efdb1f1250edec1b5fcd5eb72e99b9.tar.bz2
otp-58a0c1c6c7efdb1f1250edec1b5fcd5eb72e99b9.zip
beam_dead: Optimize select_val instructions
In a select_val instruction, values associated with a label which is the same as the failure label can be removed. We already do this optimization in beam_clean, but it is better do this sort of optimization before the beam_jump pass. Also rewrite a select_val instruction with a single value to is_eq_exact instruction followed by a jump instruction.
Diffstat (limited to 'lib/tools/info')
0 files changed, 0 insertions, 0 deletions