[llvm] Enable exp10 libcall on linux (PR #68736)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 1 07:47:57 PST 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff c5a9e354379d29ee763e9982faf57398789c8d5b cfb9f6b7fd511f038a50ef090c6b9d7570720efd -- llvm/lib/Analysis/TargetLibraryInfo.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Analysis/TargetLibraryInfo.cpp b/llvm/lib/Analysis/TargetLibraryInfo.cpp
index 93031f1211..f08f52f685 100644
--- a/llvm/lib/Analysis/TargetLibraryInfo.cpp
+++ b/llvm/lib/Analysis/TargetLibraryInfo.cpp
@@ -557,7 +557,8 @@ static void initialize(TargetLibraryInfoImpl &TLI, const Triple &T,
}
break;
case Triple::Linux:
- // As this version is so old, we don't really need to worry about using exp10
+ // As this version is so old, we don't really need to worry about using
+ // exp10
TLI.setAvailableWithName(LibFunc_exp10, "__exp10");
TLI.setAvailableWithName(LibFunc_exp10f, "__exp10f");
TLI.setAvailableWithName(LibFunc_exp10l, "__exp10l");
``````````
</details>
https://github.com/llvm/llvm-project/pull/68736
More information about the llvm-commits
mailing list