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

[Ibis] Split ContainerOp in two #6739

Merged
merged 3 commits into from
Feb 26, 2024
Merged

[Ibis] Split ContainerOp in two #6739

merged 3 commits into from
Feb 26, 2024

Conversation

teqdruid
Copy link
Contributor

In order to not abuse symbol tables, create an OuterContainerOp for top-level containers, and InnerContainerOp for nested containers. The former has a symbol and is an InnerSymbolTable. The latter has an InnerSymbol.

Fixes #6658.

In order to not abuse symbol tables, create an OuterContainerOp for
top-level containers, and InnerContainerOp for nested containers. The
former has a symbol and is an InnerSymbolTable. The latter has an
InnerSymbol.

Fixes #6658.
Copy link
Contributor

@blakep-msft blakep-msft left a comment

Choose a reason for hiding this comment

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

Thanks for doing this.

@teqdruid teqdruid merged commit d17f2f1 into main Feb 26, 2024
4 checks passed
@teqdruid teqdruid deleted the teqdruid/ibis/symfix branch February 26, 2024 16:41
@mikeurbach
Copy link
Contributor

Nice, thanks for addressing this @teqdruid!

teqdruid added a commit that referenced this pull request Mar 16, 2024
mortbopet added a commit that referenced this pull request Apr 4, 2024
* Revert "[Ibis] Split ContainerOp in two (#6739)"

This reverts commit d17f2f1.

* [Ibis] Introduce 'ibis.design'

Encapsulate everything into a new op. It's an InnerSymbolTable so that
we can identify _everything_ with inner symbols.

Partial progress.

* Hopefully avoid some msvc warnings

* add topLevel attr to containerop

* bug fixes

* Nest createContainerizePass inside of <ibis::DesignOp>

* Work

* Work

* Working

* Self review

---------

Co-authored-by: Blake Pelton <blakep@microsoft.com>
Co-authored-by: Morten Borup Petersen <morten_bp@live.dk>
cepheus69 pushed a commit to cepheus69/circt that referenced this pull request Apr 22, 2024
* Revert "[Ibis] Split ContainerOp in two (llvm#6739)"

This reverts commit d17f2f1.

* [Ibis] Introduce 'ibis.design'

Encapsulate everything into a new op. It's an InnerSymbolTable so that
we can identify _everything_ with inner symbols.

Partial progress.

* Hopefully avoid some msvc warnings

* add topLevel attr to containerop

* bug fixes

* Nest createContainerizePass inside of <ibis::DesignOp>

* Work

* Work

* Working

* Self review

---------

Co-authored-by: Blake Pelton <blakep@microsoft.com>
Co-authored-by: Morten Borup Petersen <morten_bp@live.dk>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ibis.class must implement symboltable if ibis.container is to be nested below
4 participants