[llvm] Enable exp10 libcall on linux (PR #68736)
Krishna Narayanan via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 6 04:21:57 PST 2024
================
@@ -562,12 +562,9 @@ static void initialize(TargetLibraryInfoImpl &TLI, const Triple &T,
// or we have a reasonable detection strategy, we cannot use exp10 reliably
// on Linux.
//
- // Fall through to disable all of them.
- [[fallthrough]];
- default:
- TLI.setUnavailable(LibFunc_exp10);
- TLI.setUnavailable(LibFunc_exp10f);
- TLI.setUnavailable(LibFunc_exp10l);
+ TLI.setAvailableWithName(LibFunc_exp10, "__exp10");
+ TLI.setAvailableWithName(LibFunc_exp10f, "__exp10f");
----------------
Krishna-13-cyber wrote:
Yes, I can see the exp10l update in *Files changed*
https://github.com/llvm/llvm-project/pull/68736
More information about the llvm-commits
mailing list