[all-commits] [llvm/llvm-project] 2b6df4: [RISCV] Add codegen support for bf16 vector

joshua-arch1 via All-commits all-commits at lists.llvm.org
Thu Jul 27 19:31:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2b6df4a336cc6bd814e46a856a3868ef8267afab
      https://github.com/llvm/llvm-project/commit/2b6df4a336cc6bd814e46a856a3868ef8267afab
  Author: Jun Sha (Joshua) <cooper.joshua at linux.alibaba.com>
  Date:   2023-07-28 (Fri, 28 Jul 2023)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsRISCV.td
    M llvm/lib/Target/RISCV/RISCVFeatures.td
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfo.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoV.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
    M llvm/lib/Target/RISCV/RISCVRegisterInfo.td
    M llvm/lib/Target/RISCV/RISCVSubtarget.h
    A llvm/test/CodeGen/RISCV/rvv/vfncvtbf16-f-f.ll
    A llvm/test/CodeGen/RISCV/rvv/vfwcvtbf16-f-f.ll
    A llvm/test/CodeGen/RISCV/rvv/vfwmaccbf16.ll
    M llvm/test/CodeGen/RISCV/rvv/vle.ll
    M llvm/test/CodeGen/RISCV/rvv/vse.ll

  Log Message:
  -----------
  [RISCV] Add codegen support for bf16 vector

This patch adds codegen support for vector with bfloat16 type in llvm backend.
With this patch, Zvbfmin/Zvbfwma instructions as well as vle16/vse16 can generated from newly added bf16 IR intrinsics.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D156287




More information about the All-commits mailing list