-
Notifications
You must be signed in to change notification settings - Fork 243
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
chore: Remove Value::Array
in favor of Instruction::MakeArray
#2494
Closed
Closed
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
dcb55df
fix: Implement new mem2reg pass (#2420)
jfecher c4a14f2
Support aliasing arrays in mem2reg
jfecher 5467e56
Move last_stores in Block struct
jfecher f7e9374
Satisfy clippy
jfecher 58f1187
Constant fold during mem2reg pass
jfecher fcc6df9
Formatting
jfecher a34319c
Add regression test
jfecher 51762c4
Formatting
jfecher 410bc26
Move last_stores in Block struct
jfecher 1fc27a3
Apply fix from #2466
jfecher 7e32383
Apply fix from #2466
jfecher be82fec
Avoid mapping ids to the same id
jfecher 21cdfd0
Clear last stores after cloning predecessor block
jfecher 61be2a9
Add last stores fix
jfecher 0bccde7
Clippy
jfecher 2d52b60
Merge branch 'master' into jf/mem2reg-array-aliasing
jfecher 6634038
Merge branch 'jf/mem2reg-array-aliasing' into jf/mem2reg-constant-fol…
jfecher 62cbc1a
Add make_array instruction
jfecher e284814
Progress on make_array
jfecher 859cebb
More make_array updates
jfecher 502ec06
Merge branch 'master' into jf/make-array
jfecher f6a7493
cargo fmt
jfecher 8db7031
Update test
jfecher 872626f
Merge branch 'master' into jf/make-array
jfecher 84024e8
Merge branch 'master' into jf/make-array
jfecher 79e1205
Cargo fmt
jfecher 73e4757
Add typ argument to MakeArray
jfecher 732e90d
Fix really weird error that I'm not sure why isn't failing on master
jfecher dddb9c8
Merge branch 'master' into jf/make-array
jfecher b4b4d8f
Use new collect_all_aliases function from master merge
jfecher 76b77f8
Merge branch 'master' into jf/make-array
jfecher 198e33b
Spent way too long debugging a make_block call in update_slice insert…
jfecher 444828a
Merge branch 'master' into jf/make-array
jfecher 752dca0
Revert changes to slices test
jfecher f61048b
Remove println
jfecher 15815a4
Alter handle_make_array
jfecher a9bc0dd
Clippy caught errors in other crates
jfecher 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 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 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 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 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 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 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 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.
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.
I'm unsure why this memory init is needed now. Did we need it before as well? Neither array is used dynamically.