-
Notifications
You must be signed in to change notification settings - Fork 101
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
Single step with branching #2274
Merged
Merged
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
3710c19
Bisect range constraints.
chriseth 200cfa9
fix mask.
chriseth 00f53da
remove commented-out code.
chriseth cce4375
Single step processor.
chriseth c54c0dd
Negative test.
chriseth 71666c0
branching test.
chriseth 96b3660
loop
chriseth 405bdc1
c
chriseth 2bdbe81
compute branch var
chriseth 140e7d4
Merge branch 'bisect' into single_step_with_branching
chriseth 79dd351
almost branch.
chriseth e5b9846
Merge remote-tracking branch 'origin/main' into single_step_with_bran…
chriseth e41976a
Add "can process"
chriseth b346f62
Fix test.
chriseth e271ef7
Fix test again.
chriseth 0f8ac79
fix test.
chriseth b58afc1
swap branches
chriseth a40a133
Merge remote-tracking branch 'origin/main' into single_step_simple
chriseth eb245ac
Apply suggestions from code review
chriseth 1530cae
Merge branch 'single_step_simple' of ssh://github.com/powdr-labs/powd…
chriseth 1588eb2
adjust tests.
chriseth cc70c19
Remove test function.
chriseth b13df2d
Merge branch 'remove_test_function' into single_step_simple
chriseth 96d5506
Fix testing functions.
chriseth b6a2ad9
Merge remote-tracking branch 'origin/main' into single_step_with_bran…
chriseth b799c35
Merge branch 'single_step_simple' into single_step_with_branching
chriseth 819d794
Fix merge
chriseth 9604c79
Fix test.
chriseth 250253c
Fix written vars.
chriseth 93373a3
Fix test expectation.
chriseth ce159f6
Code generation for branches.
chriseth b45dd7f
clippy
chriseth 4fc4a2e
Merge branch 'single_step_simple'
chriseth 3517df3
Merge commit '50fd4580b' into single_step_with_branching
chriseth 8fab6ae
Merge branch 'main' into single_step_with_branching
chriseth cf9ea9f
Fix formatting and tests.
chriseth 352d63f
Update executor/src/witgen/jit/single_step_processor.rs
chriseth 232b0d8
Extend comment
chriseth 671546f
Merge branch 'single_step_with_branching' of ssh://github.com/powdr-l…
chriseth 7d69841
Return both copies in on_branch.
chriseth df85d7f
Improve error message.
chriseth 0242bfe
Apply suggestions from code review
chriseth 0ab316e
Update executor/src/witgen/jit/compiler.rs
chriseth 747ff3b
Test codegen.
chriseth c4cbc05
Merge branch 'single_step_with_branching' of ssh://github.com/powdr-l…
chriseth 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
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.
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.
At least for me, it helps to see a concrete example in the tests.
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'll instead add unit tests for the branch code itself. I don't really like these long auto-generated code tests because they need a lot of changes if we decide to do something in a different order (i.e. they don't really test the core that needs to be tested).