Back to Sway

Sway Intermediate Representation

sway-ir/README.md

0.71.0641 B
Original Source

Sway Intermediate Representation

This crate is a work-in-progress library for providing an SSA style IR for the Sway middle end.

<!-- markdown-link-check-disable -->

It is modelled after LLVM to a degree, and is designed to simplify the optimization phase of the compiler pipeline.

<!-- markdown-link-check-enable -->

It is currently lacking several features and documentation, not to mention optimization passes, but is already capable of being targeted by Sway for codegen and passes the test suite.