-
Notifications
You must be signed in to change notification settings - Fork 791
OptimizeInstruction: Optimize any boolean & (No overlap with boolean's LSB) ==> 0 #7505
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
b67c4ac
opt for #7481
xuruiyang2002 340fd1b
tests
xuruiyang2002 6aab029
refactor to be generalized
xuruiyang2002 11992ac
update test due to refactoring
xuruiyang2002 bfdc24c
No need for special-cased 0
xuruiyang2002 27ac17f
Avoid redundant replaceCurrent
xuruiyang2002 2f2dbfb
And is commutative
xuruiyang2002 a8216a0
Update test
xuruiyang2002 2bbd847
Update test
xuruiyang2002 dad3fd5
Update test
xuruiyang2002 51196f8
Deal with cornor case
xuruiyang2002 131a423
Add cornor case
xuruiyang2002 0f09450
Refactor
xuruiyang2002 37653fe
Update src/passes/OptimizeInstructions.cpp
xuruiyang2002 0d8c6ad
Avoid redundant code
xuruiyang2002 f6de81a
Update test
xuruiyang2002 3f900fe
Adjust comments
xuruiyang2002 4dfe6ee
Adjust comments
xuruiyang2002 e5bffdf
Update src/passes/OptimizeInstructions.cpp
xuruiyang2002 4cc33e4
Update src/passes/OptimizeInstructions.cpp
xuruiyang2002 fb14118
Update src/passes/OptimizeInstructions.cpp
xuruiyang2002 27608e9
Update test
xuruiyang2002 4ae987c
Concrete type
xuruiyang2002 4eadb01
Update
xuruiyang2002 7b7a420
Use isNumber instead of isConcrete
xuruiyang2002 a612db0
Simplify tests
xuruiyang2002 8f663bb
Update test/lit/passes/optimize-instructions-mvp.wast
xuruiyang2002 b57c369
Update test/lit/passes/optimize-instructions-mvp.wast
xuruiyang2002 d1c0cf6
Update test/lit/passes/optimize-instructions-mvp.wast
xuruiyang2002 a3f26d9
Update test/lit/passes/optimize-instructions-mvp.wast
xuruiyang2002 440b963
Update test
xuruiyang2002 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
tests
- Loading branch information
commit 340fd1b579ed9db4474a3204e453f34c6b696c61
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.