diff options
author | Björn Gustavsson <[email protected]> | 2017-12-04 06:02:59 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2017-12-06 10:05:47 +0100 |
commit | 633b02c1f8ef85d46e206af169f8500472ed5269 (patch) | |
tree | 023429b8e8422a1aa6635a6d0c8812a390182b12 /scripts | |
parent | 2e5d6201bb044508eb8523da208caac459c8a124 (diff) | |
download | otp-633b02c1f8ef85d46e206af169f8500472ed5269.tar.gz otp-633b02c1f8ef85d46e206af169f8500472ed5269.tar.bz2 otp-633b02c1f8ef85d46e206af169f8500472ed5269.zip |
beam_dead: Improve creation of select_val from is_eq_exact
When converting a comparison BIF (such as '=:=') to a test
instruction, run the other optimizations on the result.
When trying to combine is_eq_exact tests, handle the case
that is_eq_exact is followed by a jump instead of a label
to handle a test that has been newly converted from a BIF.
Taken together, those changes will coalesce more is_eq_exact
instructions into select_val instructions.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions