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

[fx] Use module Operations instead of Module. #3046

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

stellaraccident
Copy link
Collaborator

@stellaraccident stellaraccident commented Mar 22, 2024

This was only used in certain advanced uses of the API that want to build into their own module. The MLIR Module class is an awkward/restrictive way to require this to go as only some things will have it. Just switch everything to be based on a module Operation.

Also adds an optional visibility specifier to entry points that construct a function.

This was only used in certain advanced uses of the API that want to build into their own module. The MLIR `Module` class is an awkward/restrictive way to require this to go as only some things will have it. Just switch everything to be based on a module `Operation`.
Copy link
Collaborator

@dan-garvey dan-garvey left a comment

Choose a reason for hiding this comment

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

looks good

@dan-garvey
Copy link
Collaborator

Looks like there is some underlying execution engine change needed to support operation versus module?

@stellaraccident
Copy link
Collaborator Author

Ugh. There is stilly tech debt in the ExecutionEngine that needs to be excised...

stellaraccident added a commit that referenced this pull request Mar 25, 2024
This is a partial landing of #3046 while waiting for an upstream change for the rest of it.
stellaraccident added a commit that referenced this pull request Mar 25, 2024
This is a partial landing of #3046 while waiting for an upstream change
for the rest of it.
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