hash-org / hash-org/hashc

Constant propagation pass

Open
#1,029 0 comments 0 reactions 1 assignee Claimed by @feds01 View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.