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

[CIR] Add initial support for bit-precise integer types #538

Merged
merged 4 commits into from
Apr 15, 2024

Commits on Apr 14, 2024

  1. [CIR] Add initial support for bit-precise integer types

    This patch adds support for the bit-precise integer type `_BitInt(N)`. This type
    goes into the C23 standard, and has already been supported by clang since 2020,
    previously known as `_ExtInt(N)`.
    
    Basically this patch leverages the existing `cir.int` type to represent such
    types. Previously `cir.int` verifies that its width must be a multiple of 8, and
    this verification has been removed in this patch.
    Lancern committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    ae41747 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1f6ef12 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    50c8f4b View commit details
    Browse the repository at this point in the history
  4. Rename StdInt to PrimitiveInt

    Lancern committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    4da6297 View commit details
    Browse the repository at this point in the history