Skip to content
  • qinsoon's avatar
    start using 8/16/32 bits registers · 38d18dda
    qinsoon authored
    1. compiler knows all the registers
    2. but only 64bits register is a color (for reg alloc)
    3. backend records the length of GPR for each operand during instruction
    selection
    4. after reg alloc, when replacing temp with a color, find corresponding
    GPR for the length recorded before
    38d18dda