[all-commits] [llvm/llvm-project] 62a251: [Clang][BFloat16] Upgrade __bf16 by supporting inc...

joshua-arch1 via All-commits all-commits at lists.llvm.org
Fri Jul 28 01:21:11 PDT 2023


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

  Changed paths:
    M clang/lib/CodeGen/CGExprScalar.cpp
    M clang/test/Sema/arm-bfloat.cpp

  Log Message:
  -----------
  [Clang][BFloat16] Upgrade __bf16 by supporting increment/decrement operations

Since __bf16 has been upgraded from a storage-only type to an arithmetic type in https://reviews.llvm.org/rGe62175736551abf40a3410bc246f58e650eb8158, it should support all the basic arithmetic operations like other float types, including increment and decrement.

Reviewed By: pengfei

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




More information about the All-commits mailing list