Skip to content

Conversation

@murphe67
Copy link
Collaborator

@murphe67 murphe67 commented Aug 23, 2025

While MLIR has named operands and results internally, these values are not accessible as strings. However, to print RTL from our IRs, it is required to access the names of these operands and result programmatically.

Previously, this was done using 3 or 4 different structures, and changes to the code base meant some were in fact wrong. With this PR, every operation must declare how to name its operand and results in its tablegen entry. For complex naming, like the LSQ, the tablegen file points to custom functions in HandshakeOps.cpp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants