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

[Arc] Fix header generation when depth is -1 #5501

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

zyedidia
Copy link
Contributor

Since the default depth is -1 and the script checks depth > 0, currently the header generator does not generate any values below the top-level hierarchy by default. This update allows arbitrarily deep hierarchy generation when the depth is -1 (I think this was probably the intended behavior). Alternatively, we could set the default depth to some large value.

cc @fabianschuiki

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! Thanks 👍

@fabianschuiki fabianschuiki merged commit 7267298 into llvm:main Jul 10, 2023
5 checks passed
calebmkim pushed a commit to andrewb1999/circt that referenced this pull request Jul 12, 2023
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.

None yet

2 participants