[all-commits] [llvm/llvm-project] 8a71f4: [RISCV] Expand test coverage of bf16 operations wi...

Alex Bradbury via All-commits all-commits at lists.llvm.org
Wed Aug 2 23:07:58 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8a71f44e00a901c39a3d05262bbda914b9283308
      https://github.com/llvm/llvm-project/commit/8a71f44e00a901c39a3d05262bbda914b9283308
  Author: Alex Bradbury <asb at igalia.com>
  Date:   2023-08-03 (Thu, 03 Aug 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    A llvm/test/CodeGen/RISCV/bfloat-arith.ll
    A llvm/test/CodeGen/RISCV/bfloat-br-fcmp.ll
    A llvm/test/CodeGen/RISCV/bfloat-fcmp.ll
    A llvm/test/CodeGen/RISCV/bfloat-frem.ll
    A llvm/test/CodeGen/RISCV/bfloat-imm.ll
    A llvm/test/CodeGen/RISCV/bfloat-isnan.ll
    A llvm/test/CodeGen/RISCV/bfloat-mem.ll

  Log Message:
  -----------
  [RISCV] Expand test coverage of bf16 operations with Zfbfmin and fix gaps

This doesn't bring us to parity with the test/CodeGen/RISCV/half-* test
cases, it simply picks off an initial set that can be supported
especially easy. In order to make the review more manageable, I'll
follow up with other cases.

There is zero innovation in the test cases - they simply take the
existing half/float cases and replace f16->bf16 and half->bfloat.

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




More information about the All-commits mailing list