aalhour / aalhour/PyCOOLC

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

Open
#20 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
41
Forks
10
PR merge metrics
No merged PRs in 30d

Description

## 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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.