-
Notifications
You must be signed in to change notification settings - Fork 80
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
core: Fix check for forward refs by checking for ssa refs instead of block refs #3851
Open
emmau678
wants to merge
20
commits into
main
Choose a base branch
from
emma/add_fix_forward_ssa_refs
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
e44cd87
fix: change forward block refs to forward ssa refs
emmau678 b86c47e
dialects: (builtin) remove AnyMemRefTypeConstr (#3832)
alexarice 0bc2616
core: Disallow duplicate keys in attribute dictionaries (#3830)
compor 324792f
pip prod(deps): bump marimo from 0.10.19 to 0.11.0 (#3834)
dependabot[bot] 83ee4c0
dialects: (builtin/memref) rename Memref to MemRef everywhere (#3833)
alexarice 60fd998
dialects: (linalg) add hidden region to transpose op (#3838)
jorendumoulin 9eceb8c
dialects: (linalg) let PoolingOpsBase inherit from NamedOpBase (#3839)
jorendumoulin a216535
dialects: (linalg) add hidden region to BroadcastOp (#3840)
jorendumoulin 41b16cd
dialects: (linalg) let ConvOpsBase inherit from NamedOpsBase (#3841)
jorendumoulin 75fbbe0
dialects: (linalg) enable generic printing in mlir conversion fileche…
jorendumoulin 617303c
dialects: (builtin) remove AnyIntegerAttrConstr (#3842)
alexarice 51db69f
dialects: (builtin) remove AnyIntegerAttr (#3843)
alexarice 4504a60
dialects: (builtin) remove AnyFloatAttr(Constr)? (#3844)
alexarice 6e51e9b
installation: fix packages discovery (#3847)
alexarice 9f50033
dialects: (builtin) print hex str for DenseIntOrFPElementsAttrs with …
jorendumoulin 34ab330
core: Fix multiline error printing (#3849)
emmau678 4088e1b
update line numbers in filecheck
emmau678 64b9606
Merge branch 'main' into emma/add_fix_forward_ssa_refs
emmau678 2291eb9
move check to before the code
emmau678 b356946
fix last change to move correct check above code
emmau678 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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.
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.
This is purely for getting the plural correct it seems
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.
ok thanks @alexarice, I updated the description
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.
Is this just to purely have a plural and singular form in the error?
I don't remember the initial discussion, but wouldn't something like:
work for both cases?
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.
I feel this what we do in most places. I was surprised that it tries to get the plural correct here (yet gets it wrong anyway)
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.
TBH yeah it seems like a reasonable simplifying change. Maybe even something like this:
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.
easier to grep
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.
@emmau678 let's update to do something like this? maybe
values [%1, %2] used but not defined
?