Skip to content

Linear expression const prop#109

Open
b-paul wants to merge 16 commits intomainfrom
linear-const
Open

Linear expression const prop#109
b-paul wants to merge 16 commits intomainfrom
linear-const

Conversation

@b-paul
Copy link
Copy Markdown
Collaborator

@b-paul b-paul commented Mar 31, 2026

Performs constant propagation over linear expressions interprocedurally using the SSA form IDE solver.

(Runtime ~1.8s on my slow laptop for cntlm after cf exprs and ssa form)

Note that dead var elimination and constant folding is not performed after constant propagation, only variable uses are replaced.

(This isn't a superset of copy prop, it propagates constants not copies of variables.)

@b-paul b-paul requested a review from agle April 2, 2026 04:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants