-
Notifications
You must be signed in to change notification settings - Fork 5.3k
"==0" optimization in Boolean logic #13573 #49548
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
25 commits
Select commit
Hold shift + click to select a range
5b16f0a
Equals to 0 optimization in Boolean logic
JulieLeeMSFT bac5938
Limit bool optimization to Integral return type only
JulieLeeMSFT 8d9484c
Use the updated flowList:setEdgeWeights method with the 3rd parameter
JulieLeeMSFT 635e605
Skip bool optimization for cases that require NOT transformation
JulieLeeMSFT b8858fc
Skip bool optimization when the third block GT_RETURN is not CNT_INT int
JulieLeeMSFT afbd075
format patch
JulieLeeMSFT a437514
Added more bool optimization cases
JulieLeeMSFT 3b51938
format patch
JulieLeeMSFT 854b011
Refactored setting fold type and comparison type to fix jitstress error
JulieLeeMSFT f28e0d6
format patch
JulieLeeMSFT ef65ee3
Refactored common codes for conditional block and return block boolea…
JulieLeeMSFT 5746b61
format patch
JulieLeeMSFT 7740064
Unit test changed to remove EH handling and add return value checks
ewhapdx d0c47e8
Unit test: add back test cases for ANDing and NE cases
ewhapdx f0adde5
Made OptBoolsDsc struct to pass it off to the helper methods.
ewhapdx 29dc719
format patch
ewhapdx d02d18e
Changed to substructure OptTestInfo within OptBoolsDisc
JulieLeeMSFT ebf2010
Cleaned up tree variables in OptBoolsDsc struct
JulieLeeMSFT a7cdf1c
Moved some methods for Boolean Optimization to OptBoolsDsc struct
JulieLeeMSFT e3a6520
Moved all private methods for Boolean Optimization to OptBoolsDsc struct
JulieLeeMSFT 5f02965
Boolean Optimization: Handled code review feedback
JulieLeeMSFT d14053e
Optimize bools: hoisted jump destination check to optOptimizeBools() …
JulieLeeMSFT 12c7a8a
format patch
JulieLeeMSFT 0e96608
Moved initialization to OptBoolsDsc constructor
JulieLeeMSFT 1cdcdb8
format patch
JulieLeeMSFT 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
Optimize bools: hoisted jump destination check to optOptimizeBools() …
…and added test cases
- Loading branch information
commit d14053e4f093d5ea85312f59ee3c9a5783fd7434
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
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
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
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.