[all-commits] [llvm/llvm-project] 0ef8e7: [RISCV] Custom legalize vXbf16 BUILD_VECTOR withou...

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Aug 26 21:59:55 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0ef8e71874e128560fdc77b6234d1bef3e18d3bd
      https://github.com/llvm/llvm-project/commit/0ef8e71874e128560fdc77b6234d1bef3e18d3bd
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-08-26 (Mon, 26 Aug 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-splat-bf16.ll

  Log Message:
  -----------
  [RISCV] Custom legalize vXbf16 BUILD_VECTOR without Zfbfmin.

By default, type legalization will try to promote the build_vector,
but that generic type legalizer doesn't support that. Bitcast to
vXi16 instead. Same as what we do for vXf16 without Zfhmin.

Fixes #100846.



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