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

Pengfei Wang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 29 08:32:47 PDT 2021


pengfei added a comment.

I sent out this patch mainly for PoC of the ABI changes, I'll fix the performance regressions in next phase.
LLVM was using a different calling conversion on x86 when passing and returning half type. It conflicts with current X86 psABI.
I have evaluated the risk internally and think the change of ABI has low risk due to Clang doesn't use such calling conversion. But I may not be thoughtful enough. Questions and comments are appreciated.


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