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

[FIRRTLFolds] Fix crashes in bundle/vector create folders. #5048

Merged
merged 1 commit into from
Apr 14, 2023

Conversation

dtzSiFive
Copy link
Contributor

  • Bug that did drop_front and drop_begin, instead of just one.
  • Don't crash if operand list is empty.

Also test behavior folding these to aggregateconstantop's.

* Bug that did drop_front and drop_begin, instead of just one.
* Don't crash if operand list is empty.

Also test behavior folding these to aggregateconstantop's.
@dtzSiFive dtzSiFive requested a review from uenoku April 14, 2023 18:12
@dtzSiFive dtzSiFive added the FIRRTL Involving the `firrtl` dialect label Apr 14, 2023
@dtzSiFive
Copy link
Contributor Author

Post-merge review welcome, but going ahead to unbreak something I'm working on.

@dtzSiFive dtzSiFive merged commit 336b89a into llvm:main Apr 14, 2023
@dtzSiFive dtzSiFive deleted the fix/agg-folder-crash-fixes branch April 14, 2023 20:48
Copy link
Member

@uenoku uenoku 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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FIRRTL Involving the `firrtl` dialect
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants