Repository navigation
Add a more intuitive transform.iree.match op - #9756
Merged
Merged
Conversation
nicolasvasilache
requested review from
GMNGeoffrey,
MaheshRavishankar,
ThomasRaoux,
benvanik and
hanhanW
as code owners
July 11, 2022 15:57
nicolasvasilache
force-pushed
the
match-op
branch
from
July 11, 2022 15:59
5bc5c17 to
8819e94
Compare
nicolasvasilache
force-pushed
the
match-op
branch
2 times, most recently
from
July 12, 2022 10:56
3f02d8a to
6c7432b
Compare
matthias-springer
approved these changes
Jul 12, 2022
This revision adds a less general but more customizable match op that is easier to use than PDL's. The feature set should grow up towards idiomatic use cases for high-level codegen. Each feature should be carefully weighed in to ensure it does provide significantly usability gains, otherwise we should just use the PDL match op.
nicolasvasilache
force-pushed
the
match-op
branch
from
July 12, 2022 12:36
6c7432b to
9d092d4
Compare
nicolasvasilache
enabled auto-merge (squash)
July 12, 2022 12:37
ftynse
approved these changes
Jul 12, 2022
Comment on lines
+183
to
+185
| return this->emitOpError( | ||
| "requires a either a match_op or a match_interface attribute (but not " | ||
| "both)"); |
Contributor
There was a problem hiding this comment.
NIt: would be nice to have a test for the error messages.
stellaraccident
approved these changes
Jul 12, 2022
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This revision adds a less general but more customizable match op that is easier to use than PDL's.
The feature set should grow up towards idiomatic use cases for high-level codegen.
Each feature should be carefully weighed in to ensure it does provide significantly usability gains, otherwise we should just use the PDL match op.