-
Notifications
You must be signed in to change notification settings - Fork 387
feat: add simplified OR when rhs or lhs is all 1s
#7880
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
18 commits
Select commit
Hold shift + click to select a range
15e9f1a
added the optimized OR
kashbrti 72e82d5
added the case of u128
kashbrti 47a8ab0
resolve the panic for Field type
kashbrti 81235b6
Update compiler/noirc_evaluator/src/ssa/ir/dfg/simplify/binary.rs
kashbrti 16e0a86
removed signed
c01d20b
made sure bit_size is less than 128
7e650d4
match statement and getting rid of the unused var
c145e9e
formatter
9ed159e
Merge branch 'master' into kb/simplified_or_unsigned_type
487f977
Merge branch 'master' into kb/simplified_or_unsigned_type
kashbrti 453485b
dealing with formatter
131a01f
Merge branch 'kb/simplified_or_unsigned_type' of github.com:noir-lang…
c94480e
Update compiler/noirc_evaluator/src/ssa/ir/types.rs
kashbrti 8f9f848
added SSA tests
a5f3d35
fixed the test name for max_value
5510401
made a single test to replace the previous ones
ba379d9
formatter
cf33f6e
Merge branch 'master' into kb/simplified_or_unsigned_type
kashbrti 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
7 changes: 7 additions & 0 deletions
7
compiler/noirc_evaluator/proptest-regressions/ssa/ir/types.txt
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| # Seeds for failure cases proptest has generated in the past. It is | ||
| # automatically read and these particular cases re-run before any | ||
| # novel cases are generated. | ||
| # | ||
| # It is recommended to check this file in to source control so that | ||
| # everyone who runs the test benefits from these saved cases. | ||
| cc ec5f15cf200d34abc8e9b16b520e929f0e6b792c2f523eeadd17e4719d0209ff # shrinks to input = Unsigned { bit_size: 129 } |
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.
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.