[compiler-rt] [llvm] [compiler-rt] Use integers for __gnu_h2f_ieee and __gnu_f2h_ieee (PR #220167)
Trevor Gross via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 8 17:05:07 PDT 2026
================
@@ -2608,6 +2608,10 @@ def isNotMachOAndNotTargetAEABI
: RuntimeLibcallAvailability<(all_of (not IsOSBinFormatMachO),
(not IsTargetAEABI))>;
+// Note that these actually pass and return int and short rather than float and
+// _Float16. This happens to work with the AAPCS calling convention where they
+// are treated equally, but may not work on other platforms. __extendhfsf2 and
+// __truncsfhf2 should be used anyway on non-GNUEABIHF targets.
----------------
tgross35 wrote:
Wanted to keep the anyway, is e5ec898efa3c8833dc482b627e6dfdc24b157f14 fine?
https://github.com/llvm/llvm-project/pull/220167
More information about the llvm-commits
mailing list