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

Byte extract lowering: support extracting non-byte-aligned arrays #6488

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Commits on Sep 18, 2023

  1. Byte extract lowering: support extracting non-byte-aligned arrays

    Alignment to bytes may be true for ANSI C, but isn't the case for our C
    front-end (which supports arrays of single bits), and not true for the
    overall framework in general. This required fixing alignment assumptions
    both in unpack_array_vector (which turns an arbitrary type into an array
    of bytes) as well as lower_byte_extract_array_vector (which picks an
    array/vector of arbitrary subtype from an array of bytes as prepared by
    unpack_array_vector).
    tautschnig committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    c8b7465 View commit details
    Browse the repository at this point in the history