Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tree Optimizer] Re-associate for constant folding #252

Open
oflatt opened this issue Jan 16, 2024 · 0 comments
Open

[Tree Optimizer] Re-associate for constant folding #252

oflatt opened this issue Jan 16, 2024 · 0 comments
Assignees

Comments

@oflatt
Copy link
Member

oflatt commented Jan 16, 2024

Example: (+ 3 (+ x 4)) => (+ (+ 3 4) x)

Don't include Associative and commutative rules, instead canonicalize to one form

@oflatt oflatt converted this from a draft issue Jan 16, 2024
@oflatt oflatt moved this from Todo to In Progress in Tree Unique Optimizations and Analyses Jan 22, 2024
@oflatt oflatt changed the title [Tree unique] Re-associate for constant folding [Tree Optimizer] Re-associate for constant folding Feb 1, 2024
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

No branches or pull requests

2 participants