Skip to content

Epic 4: Register allocation (stop "everything on stack") #20

Description

@aalhour

Epic 4: Register allocation (stop "everything on stack")

Goal: use liveness + interference graph to allocate registers.

  • Decide allocation strategy (graph coloring vs linear scan)
  • Implement allocator (use interference graph)
  • Spilling strategy + spill cost heuristics
  • Caller/callee-saved register handling
  • Tests:
    • stress tests designed to force spills
    • correctness tests for calling convention edge cases

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions