Skip to content

use upstream normal forms#581

Open
ftynse wants to merge 1 commit intomainfrom
users/ftynse/normalform
Open

use upstream normal forms#581
ftynse wants to merge 1 commit intomainfrom
users/ftynse/normalform

Conversation

@ftynse
Copy link
Copy Markdown
Collaborator

@ftynse ftynse commented Apr 23, 2026

Remove the local copy of the NormalForm dialect and rely on the upstream MLIR interfaces from the transform dialect instead. Additional functionally is introduced to walk attributes and types since upstream doesn't currently provide native support for that. It keeps checking the form despite seeing silenceable failures with the idea that these may be silenced later and we don't want to miss a definite failure later in the IR, similarly to the upstream design. This functionality may later be moved upstream as well.

Remove the test scaffolding that was needed to verify the NormalForm dialect.

Requires LLVM bump, available as commit
9deb1c631b11230787f0fb56583b17f060b194a0 in
https://github.com/ftynse/llvm-project

Remove the local copy of the NormalForm dialect and rely on the upstream
MLIR interfaces from the transform dialect instead. Additional
functionally is introduced to walk attributes and types since upstream
doesn't currently provide native support for that. It keeps checking the
form despite seeing silenceable failures with the idea that these may be
silenced later and we don't want to miss a definite failure later in the
IR, similarly to the upstream design. This functionality may later be
moved upstream as well.

Remove the test scaffolding that was needed to verify the NormalForm
dialect.

Requires LLVM bump, available as commit
9deb1c631b11230787f0fb56583b17f060b194a0 in
https://github.com/ftynse/llvm-project

Signed-off-by: Alex Zinenko <git@ozinenko.com>
@ftynse ftynse requested a review from nicolasvasilache April 23, 2026 13:32
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.

1 participant