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

Fix for issue #361; better constant folding; useless cast removal #450

Merged
merged 2 commits into from
Apr 7, 2017

Conversation

mihaibudiu
Copy link
Contributor

This is a fix for issue #361; while fixing it I have discovered several small missing optimizations, which I have also implemented:

  • constant fold boolean values involving casts
  • remove useless casts

@ChrisDodd ChrisDodd merged commit 67cb53f into p4lang:master Apr 7, 2017
@mihaibudiu mihaibudiu deleted the issue361 branch April 19, 2017 15:59
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