[PATCH] D107082: [X86][RFC] Enable `_Float16` type support on X86 following the psABI

Jean Perier via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 6 07:43:49 PDT 2022


jeanPerier added a comment.

In D107082#3632301 <https://reviews.llvm.org/D107082#3632301>, @pengfei wrote:

> Hi @jeanPerier , yes, you are right. This patch changes the calling conversion of fp16 from GPRs to XMMs. So you need to update the runtime. If you are using compiler-rt, you could simply re-build it with trunk code, or at least after rGabeeae57 <https://reviews.llvm.org/rGabeeae570efff38dceccf68f5352809c58ffdda2>. If you are using your own runtime, you can solve the problem through the way in https://github.com/llvm/llvm-project/issues/56156

Thanks for the quick reply.  I was using a compiler-rt from the trunk source but not building it with a clang compiler compiled from the trunk. I did not know the version of clang used to compiled compiler-rt mattered that much. Using clang from the trunk (or at least after the commit you mentionnned) solved my problem. Thanks !


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107082



More information about the cfe-commits mailing list