aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELFObjectFile.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2025-02-19 10:16:57 +0100
committerGitHub <noreply@github.com>2025-02-19 10:16:57 +0100
commitcc539138acf742f53ef455147182a8de11980a02 (patch)
treedc41dd1515ab26903cfa0e3a3aa7b0766bb568dd /llvm/lib/Object/ELFObjectFile.cpp
parent4af8c5382e12a74a3c79c573e029d681719a323b (diff)
downloadllvm-cc539138acf742f53ef455147182a8de11980a02.zip
llvm-cc539138acf742f53ef455147182a8de11980a02.tar.gz
llvm-cc539138acf742f53ef455147182a8de11980a02.tar.bz2
[CodeGen] Use __extendhfsf2 and __truncsfhf2 by default (#126880)
The standard libcalls for half to float and float to half conversion are __extendhfsf2 and __truncsfhf2. However, LLVM currently uses __gnu_h2f_ieee and __gnu_f2h_ieee instead. As far as I can tell, these libcalls are an ARM-ism and only provided by libgcc on that platform. compiler-rt always provides both libcalls. Use the standard libcalls by default, and only use the __gnu libcalls on ARM.
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions