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

[InstCombine][asan] Don't speculate loads before select ptr #100773

Commits on Jul 27, 2024

  1. [NFC][InstCombine][SROA][Asan] Precommit test affected by #100773

    Some optimization need to be undone with
    sanitizers by #100773.
    
    Pull Request: #100844
    vitalybuka committed Jul 27, 2024
    Configuration menu
    Copy the full SHA
    dd4531e View commit details
    Browse the repository at this point in the history
  2. [NFC][Load] Find better place for mustSuppressSpeculation

    And extract `suppressSpeculativeLoadForSanitizers`.
    
    Pull Request: #100794
    vitalybuka committed Jul 27, 2024
    Configuration menu
    Copy the full SHA
    a33fda5 View commit details
    Browse the repository at this point in the history
  3. [NFC][Load] Make ScanFrom required parameters

    In #100773 we will go conservative for sanitizers,
    so it's better to pinpoint location consciously.
    
    Pull Request: #100789
    vitalybuka committed Jul 27, 2024
    Configuration menu
    Copy the full SHA
    0fce1ba View commit details
    Browse the repository at this point in the history
  4. [InstCombine][asan] Don't speculate loads before select ptr

    Even if memory is valid from `llvm` point of view,
    e.g. local alloca, sanitizers have API for user
    specific memory annotations.
    
    This annotations can be used to track size of the
    local object, e.g. inline vector like may prevent
    accessed beyond the current vector size.
    
    So valid programs should not access those parts of
    alloca before checking preconditions.
    
    Fixes #100639.
    
    Pull Request: #100773
    vitalybuka committed Jul 27, 2024
    Configuration menu
    Copy the full SHA
    6c404f7 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2024

  1. rebase

    Created using spr 1.3.4
    vitalybuka committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    ee77360 View commit details
    Browse the repository at this point in the history