Skip to content
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

[mlir] regenerate linalg named ops yaml #65475

Merged
merged 1 commit into from
Sep 20, 2023
Merged

Conversation

ftynse
Copy link
Member

@ftynse ftynse commented Sep 6, 2023

The Linalg named ops specification went out of sync with the OpDSL description, presumably due to direct manual modifications of the yaml file.

Additionally, the unsigned division has been generating the signed scalar instruction, which is now fixed.

@ftynse ftynse requested a review from a team as a code owner September 6, 2023 13:20
@github-actions github-actions bot added mlir:core MLIR Core Infrastructure mlir:linalg mlir:python MLIR Python bindings mlir labels Sep 6, 2023
Copy link
Contributor

@nicolasvasilache nicolasvasilache left a comment

Choose a reason for hiding this comment

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

hmm any idea why things compile with Scalarxxxressions instead of ScalarExpression ?

How did you realize the these had gotten out of sync ?

@ftynse
Copy link
Member Author

ftynse commented Sep 6, 2023

hmm any idea why things compile with Scalarxxxressions instead of ScalarExpression ?

I suppose the ODS generator based on this doesn't do any type checking on YAML (bang expressions are types).

How did you realize the these had gotten out of sync ?

Trying to add new op with OpDSL made me call the generator script, a big diff showed up as a result.

The Linalg named ops specification went out of sync with the OpDSL
description, presumably due to direct manual modifications of the yaml
file.

Additionally, the unsigned division has been generating the signed
scalar instruction, which is now fixed.
@ftynse ftynse merged commit a590ff5 into llvm:main Sep 20, 2023
3 checks passed
@ftynse ftynse deleted the fix-named-ops branch September 20, 2023 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mlir:core MLIR Core Infrastructure mlir:linalg mlir:python MLIR Python bindings mlir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants