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] Promote bf16 ops to f32 with zvfbfmin #108937

Merged
merged 1 commit into from
Sep 18, 2024

Commits on Sep 18, 2024

  1. [RISCV] Promote bf16 ops to f32 with zvfbfmin

    For f16 with zvfhmin, we promote most ops and VP ops to f32. This does the same for bf16 with zvfbfmin, so the two fp types should now be in sync.
    
    There are a few places in the custom lowering where we need to check for a LMUL 8 f16/bf16 vector that can't be promoted and must be split, this extracts that out into isPromotedOpNeedingSplit.
    
    In a follow up NFC we can deduplicate the code that sets up the promotions.
    lukel97 committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    bb08e71 View commit details
    Browse the repository at this point in the history