-
Notifications
You must be signed in to change notification settings - Fork 16
Add support for storing basic block context in Gematria formats. #288
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
base: experiment/preceding-following-context
Are you sure you want to change the base?
Add support for storing basic block context in Gematria formats. #288
Conversation
* Add fields to the `proto` specification to store context. * Add members to the Gematria `BasicBlock` data structure to store context and update methods on it and its Python binding accordingly. * Bonus: Remove dangling TODO.
Bumping the C++ formatting CI version from |
This patch bumps the clang-format that we are using to v19 to fix some issues that came up in google#288.
This patch bumps the clang-format that we are using to v19 to fix some issues that came up in google#288.
#291. If you rerun the checks, it will be fixed. Github tests PRs as if they are merged against main by default. |
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.
Some initial comments.
This patch bumps the clang-format that we are using to v19 to fix some issues that came up in #288.
That would make sense, but for whatever reason re-running the action still uses |
Interesting. Running |
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.
Overall, this looks good. I'll approve once the comments are all resolved.
* Change `back_context` -> `preceding_context` and `front_context` -> `following_context`. * Add test for updated `BasicBlock::ToString`. * Keep previous proto field numbering.
proto
specification to store context.BasicBlock
data structure to store context and update methods on it and its Python binding accordingly.