Skip to content

[Python] Add HLMemType and FirMemType bindings to Seq dialect#9585

Merged
yassinz merged 3 commits intollvm:mainfrom
yassinz:seq-types
Feb 5, 2026
Merged

[Python] Add HLMemType and FirMemType bindings to Seq dialect#9585
yassinz merged 3 commits intollvm:mainfrom
yassinz:seq-types

Conversation

@yassinz
Copy link
Contributor

@yassinz yassinz commented Feb 2, 2026

Adds Python bindings for two missing Seq dialect types HLMemType and FirMemType.

Includes C API wrappers and tests.

@yassinz yassinz requested a review from uenoku February 3, 2026 19:29
Copy link
Member

@uenoku uenoku left a comment

Choose a reason for hiding this comment

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

The code looks good, so feel free to proceed. Please note that the current fragmentation of memory operations is suboptimal and likely to cause issues down the line (see Issue #5463)

yassinz and others added 2 commits February 6, 2026 00:03
Co-authored-by: Hideto Ueno <uenoku.tokotoko@gmail.com>
Co-authored-by: Hideto Ueno <uenoku.tokotoko@gmail.com>
@yassinz
Copy link
Contributor Author

yassinz commented Feb 5, 2026

Thanks, @uenoku! I appreciate the review and the heads-up about the future unification tracked in Issue #5463.

Since the code looks good now, I'll merge this PR shortly.

I've also left a comment on Issue #5463 to ensure that the Python bindings are updated (or removed) when the memory types are eventually unified.

Cheers!

@yassinz yassinz merged commit 49e3a74 into llvm:main Feb 5, 2026
7 checks passed
@yassinz yassinz deleted the seq-types branch February 6, 2026 05:15
Arya-Golkari pushed a commit to Arya-Golkari/circt that referenced this pull request Feb 7, 2026
)

* [Python] Add HLMemType and FirMemType bindings to Seq dialect

* Update include/circt-c/Dialect/Seq.h

Co-authored-by: Hideto Ueno <uenoku.tokotoko@gmail.com>

* Update include/circt-c/Dialect/Seq.h

Co-authored-by: Hideto Ueno <uenoku.tokotoko@gmail.com>

---------

Co-authored-by: Hideto Ueno <uenoku.tokotoko@gmail.com>
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.

2 participants