-
Notifications
You must be signed in to change notification settings - Fork 274
byte_extract lowering: lower newly introduced byte_extract expressions [depends-on: #4061, blocks: #2068] #4062
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
Conversation
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.
Suspect you need the BE version too, otherwise lgtm
@@ -154,8 +154,7 @@ SCENARIO("byte_extract_lowering", "[core][solvers][lowering][byte_extract]") | |||
const exprt lower_be = lower_byte_extract(be, ns); | |||
const exprt lower_be_s = simplify_expr(lower_be, ns); | |||
|
|||
// TODO: does not currently hold | |||
// REQUIRE(!has_subexpr(lower_be, ID_byte_extract_little_endian)); | |||
REQUIRE(!has_subexpr(lower_be, ID_byte_extract_little_endian)); |
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.
Presumably also big_endian?
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.
Ah, indeed, actually that should be fixed in the first commit (which is #4061).
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.
Done.
f6e617d
to
36385be
Compare
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.
✔️
Passed Diffblue compatibility checks (cbmc commit: 36385be).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/99858855
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.
✔️
Passed Diffblue compatibility checks (cbmc commit: bae5803).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/100049738
byte_extract lowering must not return any further byte_extract expressions.
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.
✔️
Passed Diffblue compatibility checks (cbmc commit: 1f94bce).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/100077409
Only the second commit is new, the first one is #4061.