[PATCH] D149573: [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names and adapt __bf16 to be arithmetic type

M. Zeeshan Siddiqui via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 18 15:35:01 PDT 2023


codemzs added a comment.

I have created a separate change to upgrade existing `__bf16` to arithmetic type at D150913 <https://reviews.llvm.org/D150913>



================
Comment at: clang/lib/AST/Type.cpp:2222
+      return (BT->getKind() >= BuiltinType::Bool &&
+              BT->getKind() <= BuiltinType::Ibm128 &&
+              (BT->getKind() != BuiltinType::BFloat16 ||
----------------
Remove


================
Comment at: clang/lib/Basic/Targets/AMDGPU.h:122
+  const char *getBFloat16Mangling() const override { return "DF16b"; };
+  
   std::string_view getClobbers() const override { return ""; }
----------------
Remove


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

https://reviews.llvm.org/D149573



More information about the cfe-commits mailing list