-
-
Notifications
You must be signed in to change notification settings - Fork 813
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
feat: remove deploy
instruction from venom
#3703
Merged
charles-cooper
merged 65 commits into
vyperlang:master
from
harkal:feature/venom_deploy_instruction_removal
Jan 2, 2024
Merged
Changes from 51 commits
Commits
Show all changes
65 commits
Select commit
Hold shift + click to select a range
65553b0
Add method to add instruction to IRBasicBlock
harkal 29d5447
Refactor add_instruction_no_return and
harkal 5f8a9b3
refactor to use new methods in bb
harkal cc0ce9d
refactor exit_to
harkal 6ec4ecf
finish phase out direct ctx instruction adding
harkal 24c328e
Remove append_instruction method from IRFunction
harkal 7e09a3f
refactor basic block instruction appending
harkal 86d8fbe
Refactor basic block instruction appending names
harkal 53f2322
left out commit
harkal f03986f
"naming things" refactor
harkal 1ae9bc1
Refactor multi-entry block test cases for venom
harkal 020c105
Refactor test_duplicate_operands
harkal 7555caf
Make Venom log instruction
harkal ad10832
Refactor-out instruction output
harkal 87ee7bb
Update tests after output property removal
harkal ff998ef
Automakit IRLiteral inferance
harkal 7df1e76
Pass jump targets as metadata to the jump IRNode
harkal f416d15
Eliminate special cfg for O(1) dispatcher
harkal 32d3fce
Add test for multi-entry block with dynamic jump
harkal bb6165f
Refactor basic block splitting logic in
harkal 023dd05
Add replace_label_operants() method
harkal b27902e
finalize split basicblock insertions
harkal 5ffa6e7
fix import order in normalization pass
harkal f12f0dc
Cleanup IRLiteral convertions
harkal e9d7030
Merge branch 'master' into feature/jump_table
harkal 8836a4c
add small comment
harkal dde51e2
djump instruction
harkal 7c75da5
Move experimental_codegen in settings
harkal bbd1e04
Merge branch 'master' into feature/jump_table
harkal 65baf5b
Disable ir_dict output type for venom
harkal 9b45270
Merge branch 'fix/expcodegen_after_modules_merge' into feature/jump_t…
harkal 7d961c6
experimental codegen flag passing
harkal 937d5cc
rename "djump" to "mjump"
charles-cooper 20d28e6
add mjmp to venom
charles-cooper 9bf661c
rename mjump->djump, mjmp->djmp
charles-cooper c9dd075
update a comment
charles-cooper d7f3ac1
Default experimental codegen setting is None
harkal 690b9f9
Add entry_points to IRFunction class
harkal 051fe80
Fix _append_return_for_stack_operand's arguments
harkal ec00dfa
Add and remove entry points in IRFunction class
harkal b119518
Update global label and add runtime entry point
harkal 60558a4
Refactor Venom code generation and add postample instructions
harkal d2c74d4
Add ctor_mem_size and immutables_len to IRFunction
harkal 19bc412
Disable deploy logic in ir_node_to_venom.py
harkal 56bfd9c
Refactor generate_assembly_experimental function signature
harkal 9b90ac4
Refactor VenomCompiler class to support multiple contexts
harkal 610beaf
Fix generate_assembly_experimental arguments in test_duplicate_operands
harkal f4516ea
Remove "deploy" opcode from basicblock.py and venom_to_assembly.py
harkal a471864
Remove deprecated code for deploy handling "hack"
harkal 698ec0f
Update type annotations in venom module
harkal 25e764c
Inline postable insertion
harkal 6cc9401
Fix deploy_code initialization in convert_ir_basicblock function
harkal 6ab1199
sad :(
harkal 0dc88f0
Merge branch 'master' into feature/venom_deploy_instruction_removal
harkal d075ff4
remove duplicate test
harkal 59abf8d
Refactor to handle None values in glue code not in VenomCompiler
harkal dcf14c5
goosfraba
harkal 9c5b80d
API cleanup
charles-cooper 6fa7dac
Merge branch 'feature/venom_deploy_instruction_removal' of github.com…
charles-cooper 8db8e29
whitespace
charles-cooper 7ac92d8
rename some variables with edit distance == 1
charles-cooper 88f1fa3
add some variables
charles-cooper 8f93bf1
assert message
charles-cooper fd78df9
fix minor bugs
charles-cooper fe0e154
fix cfg normalization code
charles-cooper 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
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.
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.
this should either be a list of IRFunctions or specify by names -- runtime_ir and deploy_ir.