This repository has been archived by the owner on Aug 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 177
Suport ir.SubAccess in Utils.splitRef #2021
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jackkoenig
approved these changes
Dec 14, 2020
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, thanks!
Signed-off-by: Schuyler Eldridge <[email protected]>
Change Utils.splitRef to use the actual IR types instead of their WIR aliases. Update the Scaladoc note to reflect this. Signed-off-by: Schuyler Eldridge <[email protected]>
seldridge
force-pushed
the
subaccess-splitref
branch
from
December 14, 2020 23:49
6e0596b
to
75e25c3
Compare
jackkoenig
added
the
Please Merge
Accepted PRs that are ready to be merged. Useful when waiting on CI.
label
Feb 1, 2021
mergify bot
pushed a commit
that referenced
this pull request
Feb 1, 2021
* Add SubAccess case to Utils.splitRef Signed-off-by: Schuyler Eldridge <[email protected]> * Update Utils.splitRef to use IR types Change Utils.splitRef to use the actual IR types instead of their WIR aliases. Update the Scaladoc note to reflect this. Signed-off-by: Schuyler Eldridge <[email protected]> Co-authored-by: Jack Koenig <[email protected]> (cherry picked from commit 81ff0fe) # Conflicts: # src/main/scala/firrtl/Utils.scala
mergify bot
pushed a commit
that referenced
this pull request
Feb 1, 2021
* Add SubAccess case to Utils.splitRef Signed-off-by: Schuyler Eldridge <[email protected]> * Update Utils.splitRef to use IR types Change Utils.splitRef to use the actual IR types instead of their WIR aliases. Update the Scaladoc note to reflect this. Signed-off-by: Schuyler Eldridge <[email protected]> Co-authored-by: Jack Koenig <[email protected]> (cherry picked from commit 81ff0fe) # Conflicts: # src/main/scala/firrtl/Utils.scala
mergify bot
pushed a commit
that referenced
this pull request
Feb 1, 2021
* Add SubAccess case to Utils.splitRef Signed-off-by: Schuyler Eldridge <[email protected]> * Update Utils.splitRef to use IR types Change Utils.splitRef to use the actual IR types instead of their WIR aliases. Update the Scaladoc note to reflect this. Signed-off-by: Schuyler Eldridge <[email protected]> Co-authored-by: Jack Koenig <[email protected]> (cherry picked from commit 81ff0fe)
mergify
bot
added
the
Backported
This PR has been backported to marked stable branch
label
Feb 1, 2021
mergify bot
added a commit
that referenced
this pull request
Feb 1, 2021
* Add SubAccess case to Utils.splitRef Signed-off-by: Schuyler Eldridge <[email protected]> * Update Utils.splitRef to use IR types Change Utils.splitRef to use the actual IR types instead of their WIR aliases. Update the Scaladoc note to reflect this. Signed-off-by: Schuyler Eldridge <[email protected]> Co-authored-by: Jack Koenig <[email protected]> (cherry picked from commit 81ff0fe) Co-authored-by: Schuyler Eldridge <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Backported
This PR has been backported to marked stable branch
bugfix
Please Merge
Accepted PRs that are ready to be merged. Useful when waiting on CI.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add support for
firrtl.ir.SubAccess
to thefirrtl.Utils.splitRef
utility method. This avoids a match error on this type. Update the utility method to use IR types as opposed to the WIR type aliases (which are now the same thing). Change the types matched on to be the IR types.Note: this method should be restricted to only work on
firrtl.ir.RefLikeExpression
to avoid match errors as it now fully matches on this more specific type.This can be backported all the way, but will require manual backport fixes. I'll take care of fixing those up.
Contributor Checklist
Type of Improvement
API Impact
No change.
Backend Code Generation Impact
No change.
Desired Merge Strategy
Release Notes
None.
Reviewer Checklist (only modified by reviewer)
Please Merge
?