-
Notifications
You must be signed in to change notification settings - Fork 118
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
Implement basic optimizations #88
Comments
After @vacantron implements the constant folding optimization, this task will be considered complete, signifying that shecc achieves the goal of implementing a minimal optimizing C compiler capable of compiling itself with typical optimizations. |
Should we abjust the directory structure that making |
Up to you. I expect the availability of basic optimizers existing with minimal efforts. |
So far, we have implemented a few optimizations:
With these optimizations complete, we consider this task concluded. Dedicated issues will be created for any additional optimizations as they are planned. |
With the inclusion of SSA in the middle-end, it is now time to implement some common optimizations on the new SSA-based IR. These include constant folding, copy propagation, and dead code elimination.
The text was updated successfully, but these errors were encountered: