-
Notifications
You must be signed in to change notification settings - Fork 382
feat(SSA): simplify array_get on slice_insert #10295
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
Closed
Closed
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
0022fa7
feat(SSA): simplify array_get on slice_insert
asterite c97f43d
Fix
asterite 4db2baa
Optimize array_get from previous array_set by taking into account par…
asterite 7d69138
Snapshots
asterite 8c64155
Optimize slice_insert length
asterite 830c475
Optimize slice_remove length
asterite f5f03fd
Only get from array param if the index is known
asterite f232806
Fixes
asterite 2a95657
Optimize slice_push_front length
asterite c017483
Optimize slice_push_back length
asterite bcbcad4
Optimize slice_pop_back length
asterite 3619fe9
Optimize slice_pop_front length
asterite 957da15
Run pass again
asterite 0106d13
Merge branch 'master' into ab/simplify-array-get-on-slice-insert
asterite 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
112 changes: 0 additions & 112 deletions
112
compiler/noirc_evaluator/src/ssa/opt/as_slice_length.rs
This file was deleted.
Oops, something went wrong.
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.
Do we need this still?