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

[SCFToCalyx] [StaticLogicToCalyx] Continue separation of the conversions. #3243

Merged
merged 12 commits into from
Jun 2, 2022

Conversation

cgyurgyik
Copy link
Member

This provides ProgramLoweringStateInterface and ComponentLoweringStateInterface to pull the heavy lifting.

The (1) cyclic dependency between the component and program states and (2) generalized loop interface being used in Scheduleable has made this quite a cumbersome task.

Also pulls out PartialLoweringPattern, ModuleOpConversion classes.

@cgyurgyik cgyurgyik added the Calyx The Calyx dialect label May 30, 2022
@cgyurgyik cgyurgyik changed the title [SCFToCalyx] [StaticLogicToCalyx] Continue separation conversions. [SCFToCalyx] [StaticLogicToCalyx] Continue separation of the conversions. May 30, 2022
@cgyurgyik cgyurgyik linked an issue May 30, 2022 that may be closed by this pull request
@cgyurgyik cgyurgyik linked an issue May 30, 2022 that may be closed by this pull request
@cgyurgyik cgyurgyik requested review from mortbopet and mikeurbach May 30, 2022 02:42
include/circt/Dialect/Calyx/CalyxLoweringUtils.h Outdated Show resolved Hide resolved
include/circt/Dialect/Calyx/CalyxLoweringUtils.h Outdated Show resolved Hide resolved
include/circt/Dialect/Calyx/CalyxLoweringUtils.h Outdated Show resolved Hide resolved
include/circt/Dialect/Calyx/CalyxLoweringUtils.h Outdated Show resolved Hide resolved
include/circt/Dialect/Calyx/CalyxLoweringUtils.h Outdated Show resolved Hide resolved
@cgyurgyik cgyurgyik requested a review from mortbopet May 31, 2022 14:53
@cgyurgyik cgyurgyik requested a review from mortbopet June 2, 2022 03:33
Copy link
Contributor

@mortbopet mortbopet left a comment

Choose a reason for hiding this comment

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

One more wrt. PatternRewriter/OpBuilder, else, LGTM!

include/circt/Dialect/Calyx/CalyxLoweringUtils.h Outdated Show resolved Hide resolved
include/circt/Dialect/Calyx/CalyxLoweringUtils.h Outdated Show resolved Hide resolved
@cgyurgyik
Copy link
Member Author

Thanks for the second set of eyes, definitely made this cleaner.

@cgyurgyik cgyurgyik merged commit e518a56 into main Jun 2, 2022
@cgyurgyik cgyurgyik deleted the fun branch June 2, 2022 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Calyx The Calyx dialect
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Calyx] Separate SCFToCalyx and StaticLogicToCalyx.
2 participants