diff options
| author | Phoebe Wang <phoebe.wang@intel.com> | 2022-10-19 16:26:54 +0800 |
|---|---|---|
| committer | Phoebe Wang <phoebe.wang@intel.com> | 2022-10-19 23:47:04 +0800 |
| commit | bc1819389fb4701cdeba5e093278e32dd668d6d5 (patch) | |
| tree | e2f7459f2b5d6b3cf6902d47a72c6cad80edaaaf /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | f0ca946bf917430bc97f80a5791312ef28c48320 (diff) | |
[X86][RFC] Using `__bf16` for AVX512_BF16 intrinsics
This is an alternative of D120395 and D120411.
Previously we use `__bfloat16` as a typedef of `unsigned short`. The
name may give user an impression it is a brand new type to represent
BF16. So that they may use it in arithmetic operations and we don't have
a good way to block it.
To solve the problem, we introduced `__bf16` to X86 psABI and landed the
support in Clang by D130964. Now we can solve the problem by switching
intrinsics to the new type.
Reviewed By: LuoYuanke, RKSimon
Differential Revision: https://reviews.llvm.org/D132329
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
