[PATCH] D130718: [compiler-rt] [builtins] Detect _Float16 support at compile time

Dimitry Andric via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 28 13:18:37 PDT 2022


dim added a comment.

In D130718#3685679 <https://reviews.llvm.org/D130718#3685679>, @tstellar wrote:

> Is this something we need in the release branch?

Yes please, provided that it's acceptable to everybody of course. I ran into this while building release/15.x after I had updated my host compiler to a very recent main snapshot (`llvmorg-15-init-17485-ga3e38b4a206b`).  E.g. building release/15.x or recent main with clang 14.0.5 will work just fine, because it didn't yet support _Float16. But after rG655ba9c8a1d22075443711cc749f0b032e07adee <https://reviews.llvm.org/rG655ba9c8a1d22075443711cc749f0b032e07adee> landed, of course it did start supporting _Float16.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130718



More information about the llvm-commits mailing list