[PATCH] D76077: [ARM] Add __bf16 as new Bfloat16 C Type

Alexandros Lamprineas via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 4 03:13:14 PDT 2020


labrinea added inline comments.


================
Comment at: clang/lib/CodeGen/CGBuiltin.cpp:6989
+                                      false,
+                                      getTarget().hasBFloat16Type());
   llvm::Type *Ty = VTy;
----------------
shouldn't this be `getTargetHooks().getABIInfo().allowBFloatArgsAndRet()` ?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D76077





More information about the cfe-commits mailing list