[PATCH] D130964: Enable __bf16 for x86 targets.

Freddy, Ye via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 1 22:46:52 PDT 2022


FreddyYe created this revision.
Herald added subscribers: luke957, pengfei, s.egerton, simoncook.
Herald added a project: All.
FreddyYe requested review of this revision.
Herald added subscribers: llvm-commits, cfe-commits, pcwang-thead.
Herald added projects: clang, LLVM.

X86 psABI has updated to support __bf16 type, the ABI of which is the
same as FP16. See https://discourse.llvm.org/t/patch-add-optional-bfloat16-support/63149


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D130964

Files:
  clang/docs/LanguageExtensions.rst
  clang/lib/Basic/Targets/X86.cpp
  clang/lib/Basic/Targets/X86.h
  clang/lib/CodeGen/TargetInfo.cpp
  clang/test/CodeGen/X86/bfloat-abi.c
  clang/test/CodeGen/X86/bfloat-half-abi.c
  clang/test/CodeGen/X86/bfloat-mangle.cpp
  clang/test/Sema/vector-decl-crash.c
  llvm/include/llvm/IR/Type.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130964.449187.patch
Type: text/x-patch
Size: 11117 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220802/bf446dec/attachment.bin>


More information about the llvm-commits mailing list