Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@maerhart
Copy link
Member

@maerhart maerhart commented Jan 6, 2025

Provides a way to specify context resources with an attribute that works well in combination with the ContextResourceTypeInterface. Currently, the cpu_decl operation has an index attr but returns a ContextResourceTypeInterface type, which makes folding difficult (and thus declaring it ConstantLike).
Further down the line, we could consider removing the ContextResourceOpInterface in favour of a single op in the RTG dialect.

@maerhart maerhart added the RTG Involving the `rtg` dialect label Jan 6, 2025
@maerhart maerhart requested a review from darthscsi January 6, 2025 12:50
@maerhart maerhart force-pushed the maerhart-rtg-contextresourceattr branch 2 times, most recently from d439b8c to bb10af0 Compare January 6, 2025 17:12
@maerhart maerhart force-pushed the maerhart-rtg-contextresourceattr branch from bb10af0 to 98b463d Compare January 8, 2025 12:34
@maerhart maerhart changed the base branch from main to maerhart-rtg-instruction-interface January 8, 2025 12:36
Copy link
Member

@uenoku uenoku left a comment

Choose a reason for hiding this comment

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

LGTM!

Base automatically changed from maerhart-rtg-instruction-interface to main January 16, 2025 19:51
@maerhart maerhart force-pushed the maerhart-rtg-contextresourceattr branch from 98b463d to 7d07e68 Compare January 16, 2025 20:01
@maerhart maerhart merged commit e075079 into main Jan 16, 2025
4 checks passed
@maerhart maerhart deleted the maerhart-rtg-contextresourceattr branch January 16, 2025 20:47
TaoBi22 pushed a commit to TaoBi22/circt that referenced this pull request Jul 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

RTG Involving the `rtg` dialect

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants