Constant propagation pass
Open
lowering
- Dominant language
- Rust
- Stars
- 28
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Another powerful optimisation opportunity is constant propagation. This pass should be able to simplify and optimise out as much constness out of an IR body as possible.
This might include things like:
- removing comp-time known branch paths
- folding constant expressions
- simplifying control flow in general
Contributor guide
Assessment
This issue has not been assessed yet.