-
Notifications
You must be signed in to change notification settings - Fork 16
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
Parameters Performance Improvements #177
Conversation
clang-tidy review says "All clean, LGTM! 👍" |
static InitialValueType initial_values_; | ||
static bool invalid_; |
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.
To avoid the usage of statics could we use the analysis system and preserve the analysis? https://mlir.llvm.org/docs/PassManagement/#preserving-analyses
7dad980
to
a54ff88
Compare
a54ff88
to
4ce6d31
Compare
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
1 similar comment
clang-tidy review says "All clean, LGTM! 👍" |
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 work!
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.
LGTM, thank you for finding a way around the statics 🙏
This PR adds performance improvements for working with parameters. Changes to MergeCircuitPass: * Remove some unused vectors * Change circuit merge so that only unique operands / arguments are added when merging circuits rather than the union of the two circuits arguments.
This PR adds performance improvements for working with parameters.
Changes to MergeCircuitPass:
Changes to ParameterInitialValueAnalysis: