[all-commits] [llvm/llvm-project] a5791b: [RISCV][BF16] Enable __bf16 for riscv targets

joshua-arch1 via All-commits all-commits at lists.llvm.org
Mon Jul 31 22:59:22 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a5791bfef4e4bcc159ef9bf40d88262e5f409766
      https://github.com/llvm/llvm-project/commit/a5791bfef4e4bcc159ef9bf40d88262e5f409766
  Author: Jun Sha (Joshua) <cooper.joshua at linux.alibaba.com>
  Date:   2023-08-01 (Tue, 01 Aug 2023)

  Changed paths:
    M clang/docs/LanguageExtensions.rst
    M clang/lib/Basic/Targets/RISCV.h
    A clang/test/CodeGen/RISCV/bfloat-abi.c
    A clang/test/CodeGen/RISCV/bfloat-mangle.cpp
    R clang/test/Sema/vector-decl-crash.c

  Log Message:
  -----------
  [RISCV][BF16] Enable __bf16 for riscv targets

The RISC-V psABI recently added __bf16 in https://github.com/riscv-non-isa/riscv-elf-psabi-doc/pull/367.
Now we can enable this new type in clang.

Reviewed By: craig.topper

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




More information about the All-commits mailing list