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

Optimize (x<y)&1 #1342

Merged
merged 1 commit into from
Jul 2, 2013
Merged

Optimize (x<y)&1 #1342

merged 1 commit into from
Jul 2, 2013

Conversation

sunfishcode
Copy link
Collaborator

Add an optimization to simplifyExpressionsPre to replace (x<y)&1 with x<y
if possible. This comes up frequently in C++ with bool variables.

Add an optimization to simplifyExpressionsPre to replace (x<y)&1 with x<y
if possible. This comes up frequently in C++ with bool variables.
@kripken kripken merged commit 0a2260a into emscripten-core:incoming Jul 2, 2013
@kripken
Copy link
Member

kripken commented Jul 2, 2013

Great, thanks!

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