Skip to content

Add a more intuitive transform.iree.match op - #9756

Merged
nicolasvasilache merged 1 commit into
iree-org:mainfrom
nicolasvasilache:match-op
Jul 12, 2022
Merged

nicolasvasilache merged 1 commit into
iree-org:mainfrom
nicolasvasilache:match-op

Conversation

@nicolasvasilache

Copy link
Copy Markdown
Contributor

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.

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.
Comment on lines +183 to +185
return this->emitOpError(
"requires a either a match_op or a match_interface attribute (but not "
"both)");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

NIt: would be nice to have a test for the error messages.

@nicolasvasilache
nicolasvasilache merged commit aeb9e68 into iree-org:main Jul 12, 2022
@nicolasvasilache
nicolasvasilache deleted the match-op branch August 11, 2022 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants