Skip to content

Rework compiler backend with register allocation and SSA-based mid-level IR. #4

Open
@elucent

Description

@elucent

The current compiler backend goes directly from an abstract syntax tree to a list of instructions. It'd be easier to perform analyses and implement new compiler optimizations on an SSA form, that gets lowered to the instruction list we currently have. In particular, this addition should help us implement register allocation, which should significantly improve language performance.

Metadata

Metadata

Assignees

Labels

planned featurePlanned feature for upcoming language revision.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions