diff options
author | Björn Gustavsson <[email protected]> | 2015-12-07 16:12:21 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-04-07 15:28:29 +0200 |
commit | e93a66110aa27a5b8228fb46a3459a6de0e626d0 (patch) | |
tree | 856ab34d2bcf08fdbb7a6360534c842f6b5a8f15 /lib/asn1/test/testChoPrim.erl | |
parent | c6cabe0b76dda183d209498e1e4e13e3407dcf9b (diff) | |
download | otp-e93a66110aa27a5b8228fb46a3459a6de0e626d0.tar.gz otp-e93a66110aa27a5b8228fb46a3459a6de0e626d0.tar.bz2 otp-e93a66110aa27a5b8228fb46a3459a6de0e626d0.zip |
Introduce a 'rename' instruction
Introduce a 'rename' instruction that can be used to optimize
simple renaming with unchanged operands such as:
get_tuple_element Reg P Dst => i_get_tuple_element Reg P Dst
By allowing it to lower the arity of instruction, transformations
such as the following can be handled:
trim N Remaining => i_trim N
All in all, currently 67 transformations can be optimized in this
way, including some commonly used ones.
Diffstat (limited to 'lib/asn1/test/testChoPrim.erl')
0 files changed, 0 insertions, 0 deletions