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

[Seq][FirMemLowering] Create correct width constant for missing mask input #6214

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

prithayan
Copy link
Contributor

FirMemLowering is creating incorrect width mask, when the optional mask input is missing from the memory access ops.
Instead of creating a one bit mask for the optional mask input, it must be of appropriate mask width as determined by the firmem.
Fixes #6213

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.

Great fix! LGTM 🥳

@prithayan
Copy link
Contributor Author

Thanks @fabianschuiki for the review.

@prithayan prithayan merged commit c8ab1e1 into main Sep 27, 2023
5 checks passed
@prithayan prithayan deleted the dev/pbarua/lower-fir-mem-maskbits branch September 27, 2023 21:31
mikeurbach pushed a commit that referenced this pull request Oct 2, 2023
`FirMemLowering` is creating incorrect width mask, when the optional mask input
 is missing from the memory access ops. Instead of creating a one bit mask for
 the optional mask input, it must be of appropriate mask width as determined by
 the `firmem`.
Fixes #6213
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.

Lower firmem pass crashes with incorrect mask bitwidth
2 participants