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

[BasicTTI] When costing a scalarized cast, use distinct src and dest types #109325

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

Commits on Sep 19, 2024

  1. [BasicTTI] When costing a scalarized cast, use distinct src and dest …

    …types
    
    When we fallback on scalarizing a vector cast, BasicTTI was assuming that
    the type being extracted was the same as that being inserted.  This is
    not true when scalarizing a e.g. truncate, zext, or sext.
    
    I have made no attempt to confirm the test diffs are profitable in terms
    of e.g. vectorization result for the various targets impacted.
    preames committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    9ad1dfb View commit details
    Browse the repository at this point in the history
  2. clang-format

    preames committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    bd5b63a View commit details
    Browse the repository at this point in the history