-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: (irdl) Add regions to declarative assembly format (#3065)
Added support for regions to the declarative assembly format. The declarative assembly format now supports: - Referring to region variables - Referring to optional or variadic region variables - Printing custom assembly for region variables The format requires that: - The attr-dict-with-keyword directive is present and not attr-dict. This is to maintain consistency with mlir. - The regions appear after the attributes. Also added tests. --------- Co-authored-by: Sasha Lopoukhine <[email protected]>
- Loading branch information
1 parent
5299b90
commit 600dd91
Showing
3 changed files
with
340 additions
and
3 deletions.
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
Oops, something went wrong.