-
Notifications
You must be signed in to change notification settings - Fork 382
feat: SSA globals in monomorphization and SSA gen #6985
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 14 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
c7d8009
cleanup global generation with GlobalsBuilder
vezenovm 4b19a7b
all tests paassing
vezenovm c8e08d3
cargo fmt
vezenovm 8a24746
fmt and clippy
vezenovm e3358e3
some comments for context
vezenovm c3948fe
nargo fmt
vezenovm 328004e
merge master and conflicts w/ printer
vezenovm 40c50fc
remove type from Value::Global and cleanup
vezenovm 7744179
bring back global type
vezenovm 68ddd14
Update compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs
vezenovm 6823019
only print globals when printing ssa if globals exist
vezenovm 73ceea5
Merge remote-tracking branch 'origin/mv/ssa-globals-1' into mv/ssa-gl…
vezenovm cbe377e
make an eval method
vezenovm 2d750fb
Update compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs
vezenovm faeb30f
Update compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs
vezenovm 2322cb6
Update test_programs/execution_success/global_var_regression_simple/s…
vezenovm 08a2aba
Merge branch 'master' into mv/ssa-globals-1
vezenovm fa6d9cf
cargo mft
vezenovm 200964f
Merge branch 'master' into mv/ssa-globals-1
vezenovm f98c713
merge conflicts w/ master
vezenovm ad19fc3
Merge branch 'master' into mv/ssa-globals-1
vezenovm bb5a9ea
Update compiler/noirc_frontend/src/hir/comptime/value.rs
vezenovm 74a7358
do ot duplicate codegen
vezenovm df5eef0
Merge branch 'master' into mv/ssa-globals-1
vezenovm 584cc92
Merge branch 'master' into mv/ssa-globals-1
vezenovm 8ff2934
switch to Function from DataFlowGraph to represent globals
vezenovm aae17de
remove unnecessary lifetime on InlineContext
vezenovm 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
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
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.
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.