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 issue #1505 #1511

Merged
merged 2 commits into from
Mar 26, 2024
Merged

Fix issue #1505 #1511

merged 2 commits into from
Mar 26, 2024

Conversation

fpoli
Copy link
Member

@fpoli fpoli commented Mar 25, 2024

Fixes #1505

Note that this PR also changes the default of simplify_encoding to false, because Viper's optimization of signed integer divisions is wrong (viperproject/silver#782).

vir/src/legacy/ast/expr.rs Outdated Show resolved Hide resolved
@fpoli fpoli disabled auto-merge March 25, 2024 16:55
@fpoli fpoli enabled auto-merge (squash) March 25, 2024 16:55
@fpoli fpoli force-pushed the fix-issue-1505 branch 2 times, most recently from 7984371 to 3d0866c Compare March 26, 2024 08:50
@fpoli fpoli merged commit 0d4a8d4 into master Mar 26, 2024
19 checks passed
@fpoli fpoli deleted the fix-issue-1505 branch March 26, 2024 13:08
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.

Wrong encoding of signed divisions
1 participant