-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add/fix testcases for consistent value computation for REMU
- Loading branch information
Showing
1 changed file
with
55 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 comments
on commit 70f6c02
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests for consistent value computation for REMU.
Also, I think there was a tiny mixup in the tests between consistent and inverse values:
A computed consistent value for OperandSide d is checked by computing an inverse value for the other OperandSide.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, I like it! This commit LGTM.
Since the implementation for computing the inverse is now the same for all operators, could we get rid of the
match
completely and just compute the inverse generically for all operators?