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

SSA-based common subexpression elimination #23

Open
3 tasks
polsys opened this issue Dec 18, 2018 · 0 comments
Open
3 tasks

SSA-based common subexpression elimination #23

polsys opened this issue Dec 18, 2018 · 0 comments
Labels
area-Optimization Optimization of the intermediate or final code. type-Feature A self-contained, possibly larger, new behavior.

Comments

@polsys
Copy link
Owner

polsys commented Dec 18, 2018

  • Replace assignments where the right-hand side has already been seen with rewritten local references
  • Make sure that this is not too aggressive (only reference variables on executed paths...)
  • Consider whether repeated method calls with same arguments may be elided too (for some very simple definition of pure method)
@polsys polsys added type-Feature A self-contained, possibly larger, new behavior. area-Optimization Optimization of the intermediate or final code. labels Dec 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Optimization Optimization of the intermediate or final code. type-Feature A self-contained, possibly larger, new behavior.
Projects
None yet
Development

No branches or pull requests

1 participant