[PATCH] D150291: [Clang] Rename internal type identifier(s) for __bf16 to BF16Ty

Tom Honermann via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 11 09:41:27 PDT 2023


tahonermann added a subscriber: clang-vendors.
tahonermann added a comment.

Heads up @clang-vendors. This patch changes the names of many internal identifiers for enumerators, class data members, and functions (including virtual functions) that are related to support for the `__bf16` type. The changes are roughly to replace "bfloat16" with "bf16" to make the association obvious and to avoid confusion when support for the C++ `std::bfloat16_t` type lands (and to make room for a potential matching `_BFloat16` type in C in the future). There are no changes to ABI or code generation; mangling continues to use the same names even where those have "bfloat16" in them. These changes will likely cause compilation failures in downstream projects that will require (simple) identifier updates to resolve.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150291/new/

https://reviews.llvm.org/D150291



More information about the cfe-commits mailing list