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

Fix incorrect result of #5186 due to width mismatch #5189

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

yTakatsukasa
Copy link
Member

No description provided.

@yTakatsukasa yTakatsukasa changed the title Fix incorrect result of $5186 due to width mismatch Fix incorrect result of #5186 due to width mismatch Jun 19, 2024
Comment on lines +856 to +857
const int maskWidth
= std::max(resultp->width(), resultWidth == 1 ? VL_IDATASIZE : resultWidth);
Copy link
Member Author

Choose a reason for hiding this comment

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

If simplify to maskWidth = resultp->width(); , t_const_bitoptree_bug3096 fails.
Until all width becomes correct, this is safer.

@yTakatsukasa yTakatsukasa marked this pull request as ready for review June 22, 2024 03:59
@yTakatsukasa yTakatsukasa requested a review from wsnyder July 2, 2024 03:56
@yTakatsukasa
Copy link
Member Author

@wsnyder could you please take a look at this ?
I understand cleaner fix is preferred, but my bandwidth is very limited in the near future.
Leaving a wrong result may bother users.

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

1 participant