You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[CodeGen] Use __extendhfsf2 and __truncsfhf2 by default
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 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 to improve libgcc compatibilty.
We encounted this issue with MLIR execution engine test failures
on Power 8.
0 commit comments