-
Notifications
You must be signed in to change notification settings - Fork 14
feat!: No nested FuncDefns (or AliasDefns) #2256
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 36 commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
9f4bcbb
Test to demonstrate issue #2254
acl-cqc 6f2121f
dataflow analysis runs on the whole Hugr to generate results for entr…
acl-cqc 7ea2c16
Make sameness/difference of results more obvious
acl-cqc cd2be05
Constant is the only ScopedDecl
acl-cqc 85f312d
Remove/update hugr-core tests (e.g. rm test_polymorphic_call)
acl-cqc d9bd2dc
clarify doc+impl of Machine::run
acl-cqc e20d5bb
Fix datalog+replace_types tests, driveby add From<tuple> for Wire
acl-cqc 844adf6
Monomorphization: remove one test, and remove flattening code
acl-cqc 7098652
Move builder method
acl-cqc ed2d90b
Remove ValueEdgeIntoFunc (revert #1061)
acl-cqc 5c3d8c0
Spec update: Const is the only scoped definition
acl-cqc 11d7c59
clippy
acl-cqc 6b282a9
Remove ScopedDefn
acl-cqc 9f7076a
Revert "Remove ScopedDefn"
acl-cqc 56a5f34
Keep ValueEdgeIntoFunc (but deprecate), for now
acl-cqc 5d202e9
ModuleBuilder: root not entrypoint, derive Default
acl-cqc 1ae84a4
fn module_root_builder(), some partial test reversions
acl-cqc b2758ce
cherry-pick fix #2262
acl-cqc d25c03c
hugr_llvm: remove nested funcs from diverse_(dfg,cfg)_children, only …
acl-cqc 7e2be32
hugr_py: move define_function/add_alias_defn
acl-cqc 090f9c7
hugr-llvm - closure returns Hugr, drop the debug printout
acl-cqc 12cf781
mypy+ruff
acl-cqc 1986a1a
hugr-llvm: make fat_root use the root, not entrypoint; update snapshots
acl-cqc cc08b0c
Revert changes to uv.lock
acl-cqc fa32fc5
Reduce change to dataflow tests using module_root_builder
acl-cqc 54a0821
Remove unused impl From for Wire
acl-cqc 055fc6e
Try reinstating define_function anywhere, deprecated
acl-cqc 5932b23
Revert "Try reinstating define_function anywhere, deprecated"
acl-cqc 4949b22
Remove diverse_dfg_children
acl-cqc bc31027
Remove diverse_dfg_children snapshots
acl-cqc 37f827c
hugr-py: Module: child building functions do not take parent
acl-cqc 9f4bf09
hugr-py: add module_root_builder(), fix doc on Hugr (root -> entrypoint)
acl-cqc a32f509
Fix circular import; docs
acl-cqc 5441ac1
hugr-py test_function_dfg
acl-cqc e507db3
hugr-llvm: add FatExt::fat_entrypoint, de-genericize fat_root
acl-cqc 2686d6d
Remove ValueEdgeIntoFunc error
acl-cqc 724f6e9
Drop PR comment as we have decided against
acl-cqc 6174928
Merge remote-tracking branch 'origin/main' into acl/dataflow_root
acl-cqc 095770c
Merge branch 'acl/dataflow_root' into acl/no_nested_funcdefn
acl-cqc 372afb5
Merge remote-tracking branch 'origin/main' into acl/dataflow_root
acl-cqc 90472fd
Merge branch 'acl/dataflow_root' into acl/no_nested_funcdefn
acl-cqc 108dbad
comments
acl-cqc 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
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.
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.
Not clear to me how this is related to this PR
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.
sorry, cherry-pick of fix for #2262, was breaking a roundtrip test here