Skip to content

Conversation

uenoku
Copy link
Member

@uenoku uenoku commented May 17, 2025

This commit adds DenseMapInfo for InstancePath.

@uenoku uenoku requested a review from darthscsi as a code owner May 17, 2025 03:02
@uenoku uenoku requested a review from fabianschuiki May 17, 2025 03:02
@uenoku uenoku force-pushed the dev/hidetou/instance-path-hash branch from 616b1d0 to 446cb77 Compare May 17, 2025 03:27
This commit adds hash functionality to the InstancePath class, enabling
its use as a key in hash-based containers like DenseMap and DenseSet.

Since InstancePath is immutable, hash is computed in consruction and stored
as a memeber.
@uenoku uenoku force-pushed the dev/hidetou/instance-path-hash branch from c50df0f to f5fc224 Compare May 17, 2025 06:26
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.

LGTM! Nice test 👍🎉

@uenoku uenoku merged commit 6ca2c60 into main May 19, 2025
5 checks passed
@uenoku uenoku deleted the dev/hidetou/instance-path-hash branch May 19, 2025 17:08
TaoBi22 pushed a commit to TaoBi22/circt that referenced this pull request Jul 17, 2025
This commit adds DenseMapInfo for InstancePath.
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