• Y
    Add support for a simple version of move elimination (#682) · aac4464e
    Yinan Xu 提交于
    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.
    aac4464e
CtrlBlock.scala 16.0 KB