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

Simplifier: c_bool (and others) are also bitvector types #8247

Merged
merged 1 commit into from
Jun 12, 2024

Commits on May 2, 2024

  1. Simplifier: c_bool (and others) are also bitvector types

    Remove simplifier's own is_bitvector_type in favour of using
    can_cast_type<bitvector_typet>, which will make sure that expressions
    like bitxor(false, false) over c_bool types gets simplified. Such
    expressions were seen in Kani (the C front-end would promote bitxor
    operands to int, and, therefore, not end up in this code path).
    tautschnig committed May 2, 2024
    Configuration menu
    Copy the full SHA
    a697de0 View commit details
    Browse the repository at this point in the history