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

[LLHD] Use hw.inout instead of llhd.sig #7353

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

maerhart
Copy link
Member

This aims to better integrate LLHD into the core dialects and is a preparation for other LLHD dialect refactorings (e.g., removing llhd.entity and using hw.module instead).

@maerhart maerhart added the LLHD label Jul 19, 2024
Base automatically changed from maerhart-remove-llhd-sim to main July 19, 2024 16:54
Copy link
Contributor

@fabianschuiki fabianschuiki left a comment

Choose a reason for hiding this comment

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

Really nice! I like the idea of reusing more things from the core dialects 🥳

}]>
];
}

// Declares the llhd::PtrType in C++.
def PtrTypeImpl : LLHDType<"Ptr"> {
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you think we might be able to use memrefs as a replacement for !llhd.ptr in the future?

Copy link
Member Author

Choose a reason for hiding this comment

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

In theory yes, but we might not want to pull in all the complexity of memref in practice.

@maerhart maerhart force-pushed the maerhart-replace-sig-with-inout branch from 48a309f to a1ab29f Compare July 19, 2024 19:48
@maerhart maerhart merged commit c012ab8 into main Jul 19, 2024
4 checks passed
@maerhart maerhart deleted the maerhart-replace-sig-with-inout branch July 19, 2024 19:51
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.

2 participants