-
Notifications
You must be signed in to change notification settings - Fork 310
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
[FIRRTL] Add View Intrinsic #8026
Conversation
I tweaked the operation a little, LGTM re:op addition. Needs entry in FIRRTLVisitor (Statement?). Verification might be reasonable to add to the operation, depending on how big these get (mostly sanity checking the attribute and that operand count matches, I think)? While these have (and introduce a name, as a sort of declaration) they aren't expected to really act that way, I think is where things landed. |
Add a preliminary ViewIntrinsic that is an intended replacement for the Grand Central View AugmentedBundleType Annotation. Signed-off-by: Schuyler Eldridge <[email protected]>
5afc03a
to
f806d5c
Compare
(CI failure will be fixed by in-flight PR updating the artifact action) I think this is good to go and a good starting point. |
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.
LGTM
A verifier (in a future PR) that checks the shape of the augmented bundle type and the number of variadic arguments would be nice.
Yes! And maybe tweak the attributes to more directly contain what's needed (vs DictionaryAttr), reducing need to inspect their contents as part of the operation's verification other than minor details (and asking/counting how many leaves)...? I'll tweak the operation to check all operands are ground types before merging 👍 . |
Add a preliminary ViewIntrinsic that is an intended replacement for the Grand Central View AugmentedBundleType Annotation.