[Retargetable Graph-Coloring Register Allocation for Irregular Architectures](https://user.it.uu.se/~svenolof/wpo/AllocSCOPES2003.20030626b.pdf)
"""
-from functools import reduce
+from functools import lru_cache, reduce
from itertools import combinations, count
from typing import Callable, Container, Iterable, Iterator, Mapping, TextIO, Tuple
return lhs, rhs
return None
+ @lru_cache(maxsize=None, typed=True)
def copy_merged(self, lhs_loc, rhs, rhs_loc, copy_relation):
# type: (Loc | None, MergedSSAVal, Loc | None, _CopyRelation) -> MergedSSAVal
cr_lhs, cr_rhs = copy_relation