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

Luke Geeson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 13 06:22:12 PDT 2020


LukeGeeson marked an inline comment as done.
LukeGeeson added inline comments.


================
Comment at: clang/test/CodeGen/arm-mangle-16bit-float.cpp:4
+
+// CHECK64: define {{.*}}void @_Z3foou6__bf16(half %b)
+// CHECK32: define {{.*}}void @_Z3foou6__bf16(i32 %b.coerce)
----------------
craig.topper wrote:
> How can bfloat16 be passed as half? Don't they have a different format?
see the above comment about soft-abis


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