aac4464e | 11-Mar-2021 |
Yinan Xu <[email protected]> |
Add support for a simple version of move elimination (#682)
In this commit, we add support for a simpler version of move elimination.
The original instruction sequences are:
move r1, r0
add r2,
Add support for a simple version of move elimination (#682)
In this commit, we add support for a simpler version of move elimination.
The original instruction sequences are:
move r1, r0
add r2, r1, r3
The optimized sequnces are:
move pr1, pr0
add pr2, pr0, pr3 # instead of add pr2, pr1, pr3
In this way, add can be issued once r0 is ready and move seems to be eliminated.
show more ...
|