[llvm] [TLI] Add support for hypot libcall. (PR #113724)
Kenji Mouri / 毛利 研二 via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 29 20:04:02 PDT 2024
================
@@ -367,6 +369,8 @@ static void initializeLibCalls(TargetLibraryInfoImpl &TLI, const Triple &T,
TLI.setUnavailable(LibFunc_fmaxf);
TLI.setUnavailable(LibFunc_fmin);
TLI.setUnavailable(LibFunc_fminf);
+ TLI.setAvailableWithName(LibFunc_hypot, "_hypot");
+ TLI.setAvailableWithName(LibFunc_hypotf, "_hypotf");
----------------
MouriNaruto wrote:
Thanks. I will learn something about these first.
https://github.com/llvm/llvm-project/pull/113724
More information about the llvm-commits
mailing list