Skip to content

Conversation

jpienaar
Copy link
Member

@jpienaar jpienaar commented Jul 7, 2025

If always enabled, it seems equivalent/always better to just use compreg op.

I wasn't sure if just returning input is the expected behavior when enable always false.

@jpienaar jpienaar requested a review from seldridge July 7, 2025 13:29
Copy link
Member

@seldridge seldridge left a comment

Choose a reason for hiding this comment

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

Makes sense to me. Please include a test of this here: https://github.com/llvm/circt/blob/main/test/Dialect/Seq/canonicalization.mlir

@jpienaar jpienaar merged commit b5c025c into llvm:main Jul 8, 2025
7 checks passed
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