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

release/18.x: [LV,LAA] Don't vectorize loops with load and store to invar address. #91092

Closed
wants to merge 1 commit into from

Commits on May 9, 2024

  1. [LV,LAA] Don't vectorize loops with load and store to invar address.

    Code checking stores to invariant addresses and reductions made an
    incorrect assumption that the case of both a load & store to the same
    invariant address does not need to be handled.
    
    In some cases when vectorizing with runtime checks, there may be
    dependences with a load and store to the same address, storing a
    reduction value.
    
    Update LAA to separately track if there was a store-store and a
    load-store dependence with an invariant addresses.
    
    Bail out early if there as a load-store dependence with invariant
    address. If there was a store-store one, still apply the logic checking
    if they all store a reduction.
    
    (cherry picked from commit b54a78d)
    fhahn authored and AreaZR committed May 9, 2024
    Configuration menu
    Copy the full SHA
    0c830c3 View commit details
    Browse the repository at this point in the history