summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin@c9x.me>2017-05-16 11:33:41 -0400
committerQuentin Carbonneaux <quentin@c9x.me>2017-05-16 11:33:41 -0400
commit425a2ed09c08222e1254d93dba24c7a50e7a08b9 (patch)
tree8637b9bcc9574e44e078994a4ea514289729e106 /test
parent51c46ba6914741cbca54d3351f8cf8d2689fd3dc (diff)
downloadroux-425a2ed09c08222e1254d93dba24c7a50e7a08b9.tar.gz
do not account for interferences in phi classes
Before this commit, I tried to make sure that
two interfering temporaries never ended up in
the same phi class.

This was to make sure that their register hints
were not counterproductively stepping on each
other's toes.  The idea is fine, but:

  * the implementation is clumsy because it
    mixes the orthogonal concepts of
    (i) interference and (ii) phi classes;

  * the hinting process in the register
    allocator is hard to understand because
    the disjoint-set data structure used for
    phi classes is cut in arbitrary places.

After this commit, the phi classes *really* are
phi classes represented with a proper disjoint-set
data structure.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions