# Register Allocation Skill

Expert skill for register allocation algorithms including graph coloring, linear scan, and spill code generation.

## Quick Reference

- **Category**: Code Generation
- **ID**: SK-007

## Key Capabilities

- Graph coloring register allocation
- Linear scan register allocation
- Spill code generation with minimal overhead
- Calling convention register constraint handling
- Register coalescing
- Pre-colored nodes and fixed register handling
- Live range splitting
- Register pressure analysis

## When to Use

Use this skill when implementing:
- Native code generators
- JIT compiler backends
- Custom register allocators
- Performance-critical code generation

## Related Skills

- llvm-backend (SK-005)
- ssa-ir-design (SK-006)
- jit-compilation (SK-011)
