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

[RISCV] Use masked pseudo peephole for reduction pseudos #71508

Merged
merged 1 commit into from
Nov 8, 2023

Commits on Nov 7, 2023

  1. [RISCV] Use masked pseudo peephole for reduction pseudos

    After llvm#71483 we now have a way of marking masked pseudos as having an unmasked
    equivalent, but their mask shouldn't be folded unless it's all ones since it
    would affect the result.
    
    This patch uses it to mark the pseudos for vredsum and friends, which in turn
    allows us to remove the unmasked patterns and remove vmerges entirely if it's
    known to have an all ones mask.
    lukel97 committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    b30e8f6 View commit details
    Browse the repository at this point in the history