Skip to content

Conversation

maerhart
Copy link
Member

@maerhart maerhart commented Apr 1, 2025

No description provided.

@maerhart maerhart added the RTG Involving the `rtg` dialect label Apr 1, 2025
@maerhart maerhart requested review from youngar and darthscsi April 1, 2025 14:06
Copy link
Member

@youngar youngar left a comment

Choose a reason for hiding this comment

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

LGTM

Comment on lines +278 to +282
if (operands.empty()) {
if (loc)
return mlir::emitError(*loc) << "at least one set must be provided";
return failure();
}
Copy link
Member

Choose a reason for hiding this comment

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

I think this was mentioned offline, but if you allow empty tuples, then the nullary cartesian product is usually {()}.

@maerhart maerhart force-pushed the maerhart-rtg-elaboration-folders branch from 81e6118 to 0235439 Compare April 28, 2025 14:09
Base automatically changed from maerhart-rtg-elaboration-folders to main April 28, 2025 14:12
@maerhart maerhart force-pushed the maerhart-rtg-set-cartesian-product branch from 508c62c to f26a16f Compare April 28, 2025 14:16
@maerhart maerhart merged commit 06aed85 into main Apr 28, 2025
3 checks passed
@maerhart maerhart deleted the maerhart-rtg-set-cartesian-product branch April 28, 2025 14:17
TaoBi22 pushed a commit to TaoBi22/circt that referenced this pull request Jul 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RTG Involving the `rtg` dialect
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants