Add support for storing basic block context in Gematria formats.#288
Add support for storing basic block context in Gematria formats.#288virajbshah wants to merge 3 commits intogoogle:experiment/preceding-following-contextfrom
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. |
boomanaiden154
left a comment
There was a problem hiding this comment.
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 |
ondrasej
left a comment
There was a problem hiding this comment.
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.
protospecification to store context.BasicBlockdata structure to store context and update methods on it and its Python binding accordingly.