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

[TLI] ReplaceWithVecLib: drop Instruction support #94365

Commits on Jun 7, 2024

  1. [TLI] ReplaceWithVecLib: drop Instruction support

    Refactor the pass to only support IntrinsicInst calls.
    
    ReplaceWithVecLib used to support instructions, as AArch64 was using this
    pass to replace a vectorized frem instruction to the fmod vector library
    call (through TLI).
    
    As this replacement is now done by the codegen (#83859), there is no need
    for this pass to support instructions.
    
    Additionally, removed 'frem' tests from:
    - AArch64/replace-with-veclib-armpl.ll
    - AArch64/replace-with-veclib-sleef-scalable.ll
    - AArch64/replace-with-veclib-sleef.ll
    
    Such testing is done at codegen level:
    - #83859
    paschalis-mpeis committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    daa3d0e View commit details
    Browse the repository at this point in the history