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

Debugging on TXWP TxWeakestPreCondition::PushUp() #403

Open
alvin21mfmlai opened this issue Oct 18, 2023 · 2 comments
Open

Debugging on TXWP TxWeakestPreCondition::PushUp() #403

alvin21mfmlai opened this issue Oct 18, 2023 · 2 comments

Comments

@alvin21mfmlai
Copy link
Collaborator

Started debugging process for TxWeakestPreCondition::PushUp() function.

pushUpOverview

18 Oct 23:
Question 1:
image
Lines 419-422 -> any consideration for condition of "WPExpr->getWidth() == cond->getWidth()"

Question 2:
image
Lines 447-450 -> any consideration for condition of "WPExpr->getWidth() < negCond->getWidth()"

@ArpitaDutta
Copy link
Member

Hi Alvin,
In both the questions, when the width of the WPExpr is equal to the cond/negCond expr width, then there is no need to zero extension and we can directly do the And of the exprs.

@alvin21mfmlai
Copy link
Collaborator Author

alvin21mfmlai commented Oct 18, 2023 via email

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

No branches or pull requests

2 participants