[PATCH] D136919: [X86][RFC] Change mangle name of __bf16 from u6__bf16 to DF16b

Artem Belevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 4 09:38:25 PDT 2022


tra added a comment.

> The mangling should be aligned with its semantics. It's fine to use u6__bf16 if a target doesn't want to support arithmetic operations.

We (speaking for CUDA/NVPTX) do want to support math on bfloat, just didn't get to implementing it yet.
NVPTX will likely start supporting arithmetics on bfloat at some point in the future. Does it mean that we'd need to change the mangling then? Or would I need to use a different type with corresponding mangling for bfloat-with-ops?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136919



More information about the cfe-commits mailing list