Skip to content

use sva_sequence_repetition_exprt for [*] and [+] #1090

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

Merged
merged 1 commit into from
Apr 30, 2025

Conversation

kroening
Copy link
Member

The base class sva_sequence_repetition_exprt is now also used for the SVA consecutive sequence repetition operators [*] and [+].

@kroening kroening force-pushed the sva_sequence_repetition branch from 41c817d to 4a8f099 Compare April 26, 2025 18:15
@kroening kroening marked this pull request as ready for review April 26, 2025 20:40
@tautschnig
Copy link
Collaborator

Needs a rebase.

The base class sva_sequence_repetition_exprt is now also used for the SVA
consecutive sequence repetition operators [*] and [+].
@kroening kroening force-pushed the sva_sequence_repetition branch from 4a8f099 to 1f6926e Compare April 29, 2025 19:59
@kroening
Copy link
Member Author

Needs a rebase.

done

PRECONDITION(false); // no support
// Is op a sequence or a state predicate?
if(is_SVA_sequence_operator(op))
PRECONDITION(false); // no support
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the right way to report this problem, or should this be an exception (with a human-readable error message) instead? (I acknowledge that this is the same behaviour as before.)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will implement, separate PR coming

@kroening kroening merged commit f20c412 into main Apr 30, 2025
9 checks passed
@kroening kroening deleted the sva_sequence_repetition branch April 30, 2025 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants