Skip to content

Only simplify div and mod for positive arguments (like Carbon does)#794

Merged
marcoeilers merged 2 commits into
masterfrom
meilers_fix_782
May 10, 2024
Merged

Only simplify div and mod for positive arguments (like Carbon does)#794
marcoeilers merged 2 commits into
masterfrom
meilers_fix_782

Conversation

@marcoeilers

Copy link
Copy Markdown
Contributor

This fixes #782. The Simplifier now behaves exactly like Carbon's optimization, see viperproject/carbon#448.

@marcoeilers marcoeilers enabled auto-merge May 10, 2024 14:50
@marcoeilers marcoeilers merged commit 8466d7c into master May 10, 2024
@marcoeilers marcoeilers deleted the meilers_fix_782 branch May 10, 2024 15:35
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 optimization of signed integer divisions

1 participant