[all-commits] [llvm/llvm-project] dc8e07: [RISCV] SPLAT_VECTOR of bf16 should not require Zv...

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Jun 13 08:42:58 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dc8e078a59a65a8e2b4dd13954bfa497b30ef0e8
      https://github.com/llvm/llvm-project/commit/dc8e078a59a65a8e2b4dd13954bfa497b30ef0e8
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-select-bf16.ll
    A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vpmerge-bf16.ll
    A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vselect-vp-bf16.ll
    A llvm/test/CodeGen/RISCV/rvv/select-bf16.ll
    A llvm/test/CodeGen/RISCV/rvv/vpmerge-sdnode-bf16.ll
    A llvm/test/CodeGen/RISCV/rvv/vselect-bf16.ll
    A llvm/test/CodeGen/RISCV/rvv/vselect-vp-bf16.ll

  Log Message:
  -----------
  [RISCV] SPLAT_VECTOR of bf16 should not require Zvfhmin. (#95357)

The custom lowering converts to f32, splats as f32, then narrows the
vector to bf16. None of that requires Zvfhmin.

Add new bf16 test files without Zvfh/Zvfmin in their RUN lines. I will
remove the bf16 tests from other files in a follow up patch.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list