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

[Sema][CodeGen] Support __builtin_<op>_overflow with __intcap #747

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Commits on Aug 2, 2024

  1. [Sema] Expose diagnoseAmbiguousProvenance for other uses

    This will be reused for __builtin_<op>_overflow, which gets checked in
    SemaChecking.cpp instead and so can't currently use this.
    jrtc27 committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    4f37a7e View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2024

  1. [Sema][CodeGen] Support __builtin_<op>_overflow with __intcap

    Morello LLVM has downstream support for this, but it's both incomplete
    (see https://git.morello-project.org/morello/llvm-project/-/issues/80)
    and incorrect with regards to provenance (in that it takes a naive
    type-based approach rather than considering the cheri_no_provenance
    attribute, meaning it differs from the binary operators in provenance
    semantics). This is a from-scratch implementation that aims to not have
    the same shortcomings.
    jrtc27 committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    937cbb9 View commit details
    Browse the repository at this point in the history