Skip to content
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

[CHIRRTL] Use InnerSymbolOpInterface on cmem and smem. #4874

Merged
merged 5 commits into from
May 10, 2023

Conversation

dtzSiFive
Copy link
Contributor

Add tests checking verification happens for these, as proxy for checking support for code looking for InnerSymbolOpInterface's.

Add test for behavior of conservatively not checking per-field symbols if operation's result type doesn't implement FieldIDTTypeInterface.

Copy link
Contributor

@darthscsi darthscsi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Add tests checking verification happens for these, as proxy
for checking support for code looking for InnerSymbolOpInterface's.

Add test for behavior of conservatively not checking per-field symbols
if operation's result type doesn't implement FieldIDTTypeInterface.
…test.

Ops implementing InnerSymbol are now required to clarify whether
they support per-field symbols and what result is named by symbols.

CHIRRTL memory ops do not support per-field and no result is named.
@dtzSiFive
Copy link
Contributor Author

Updated now that InnerSymbol requires operations to specify whether per-field symbols are supported and what result is named by a symbols on the op, dropping test enshrining "trust" ("punt") behavior and tweaking tests for new error messages and demonstrating verification works.

@dtzSiFive dtzSiFive merged commit f5360c5 into llvm:main May 10, 2023
@dtzSiFive dtzSiFive deleted the fix/chirrtl-innersym branch May 10, 2023 00:01
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.

2 participants