pub fn regs_overlap(
    rc1: RegClass,
    reg1: RegUnit,
    rc2: RegClass,
    reg2: RegUnit
) -> bool
Expand description

Test of two registers overlap.

A register is identified as a (RegClass, RegUnit) pair. The register class is needed to determine the width (in regunits) of the register.