- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1
New Address Analysis. #563
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
Conversation
| Codecov Report❌ Patch coverage is  📢 Thoughts on this report? Let us know! | 
| ☂️ Python Coverage
 Overall Coverage
 New FilesNo new covered files... Modified Files
 
 | 
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 have some minor comments. Other than that it looks good, and I did make sure that also the documentation examples work with this change.
Still, I'll have to go through this as it's not a simple change.
I'm fine with merging it, though.
Co-authored-by: David Plankensteiner <david-pl@users.noreply.github.com>
…omputing/bloqade-circuit into phil/new-address-analysis
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.
Great!
| case _: | ||
| return result | ||
|  | ||
| def unpack_iterable(self, collection: Address): | 
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 guess, for consistency, this method should be called unpack_collection.
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 think I'm gonna rename it to iterable since in some cases it is an iterable in some cases its not.
In this PR I implement a Joint analysis with constant prop and Address analysis to try to get the address analysis to work properly going into the call stack.I do not use a Cartesian product for the lattic because I need to implement partial lambda and partial IList and tuple to get the analysis to work. In order to support constant folding, however, I opted into adding an extra lattice element to wrap the constant prop results.