-
Notifications
You must be signed in to change notification settings - Fork 5k
Expand "return condition" into "return condition ? true : false" #107499
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 all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
04e531f
Expand "return condition" into "return condition ? true : false"
EgorBo 5b17833
remove unnecessary limitation
EgorBo 8ca7a22
clean up
EgorBo c1b907d
test
EgorBo 15cb4c0
fix diffs
EgorBo 09bb50d
run on isPhase
EgorBo 9f71716
Fix some size regressions
EgorBo 5d3dba9
fix bug
EgorBo 679a68b
disable on jit32 gc encoder
EgorBo a7240d9
mitigate some regressions
EgorBo 69005b7
clean up
EgorBo 152ad31
fix size regressions
EgorBo 4775b50
move to a separate method
EgorBo 7334bd8
fix reverse
EgorBo 1944f90
Merge branch 'main' into expand-return-cond
EgorBo 34c687e
Update fgopt.cpp
EgorBo 8a434f5
Update fgopt.cpp
EgorBo 1a319a9
Update fgopt.cpp
EgorBo 4a36ebd
Merge branch 'main' into expand-return-cond
EgorBo 45b1457
Update fgopt.cpp
EgorBo 60d4b7d
Merge branch 'main' into expand-return-cond
stephentoub a76902b
Merge branch 'main' into expand-return-cond
EgorBo 47548f3
Merge branch 'main' of github.com:dotnet/runtime into expand-return-cond
EgorBo 042e53c
clean up
EgorBo 2977ea5
clean up
EgorBo 4039806
merge returns back together
EgorBo eadf625
clean up
EgorBo 9153940
Comment out tail duplication condition
EgorBo 3490707
Merge branch 'main' into expand-return-cond
EgorBo 29d8139
Merge branch 'main' into expand-return-cond
EgorBo 3628d32
Enable tail duplication for return blocks
EgorBo d94011a
Merge branch 'main' of https://github.com/dotnet/runtime into expand-…
EgorBo f5535ac
Cleanup
EgorBo a85ee6d
remove comment
EgorBo e441ed7
Cleanup
EgorBo 76cdec5
Clean up
EgorBo 8d32cff
fix build
EgorBo a04750b
fix build
EgorBo 8430840
Comment out conditional block in optimizebools.cpp
EgorBo 4b9df07
fix issue with arm32
EgorBo aea34d2
Apply suggestions from code review
EgorBo 8e5980d
Address feedback
EgorBo 68a7aea
Address feedback
EgorBo aa74f08
Update src/coreclr/jit/optimizebools.cpp
EgorBo ce10e5c
Address feedback
EgorBo 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
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
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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should there be an assert here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, oops, indeed