Repository navigation
Simplify byte extract: use lowering when expression is a constant - #7340
Merged
tautschnig merged 2 commits intoNov 29, 2022
Merged
Conversation
2 of 3 tasks
This was referenced Nov 14, 2022
Collaborator
|
@tautschnig #7331 got merged, so this PR should be ready for a rebase before going through review. |
We must not end up with single-element concatenation that has a type different from its operand. Observed on Pointer_byte_extract8 once enabling further simplification of byte extract.
tautschnig
force-pushed
the
feature/be-simplify-lowering
branch
from
November 28, 2022 22:23
f746c86 to
f91f60a
Compare
tautschnig
marked this pull request as ready for review
November 28, 2022 22:27
When none of the earlier simplification rules apply, rewrite the expression to to apply simplification rules for arithmetic and logic expressions.
tautschnig
force-pushed
the
feature/be-simplify-lowering
branch
from
November 28, 2022 22:34
f91f60a to
7c2fa6f
Compare
peterschrammel
approved these changes
Nov 28, 2022
Codecov ReportBase: 78.37% // Head: 78.39% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## develop #7340 +/- ##
===========================================
+ Coverage 78.37% 78.39% +0.01%
===========================================
Files 1647 1647
Lines 190328 190362 +34
===========================================
+ Hits 149172 149226 +54
+ Misses 41156 41136 -20
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
When none of the earlier simplification rules apply, rewrite the expression to to apply simplification rules for arithmetic and logic expressions.