[llvm] TargetLibraryInfo: Add DragonFly function list (PR #150885)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 27 23:29:45 PDT 2025
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 HEAD~1 HEAD --extensions cpp -- 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 56f316060..58ae5f574 100644
--- a/llvm/lib/Analysis/TargetLibraryInfo.cpp
+++ b/llvm/lib/Analysis/TargetLibraryInfo.cpp
@@ -115,7 +115,7 @@ static bool hasBcmp(const Triple &TT) {
return TT.isGNUEnvironment() || TT.isMusl();
// Both NetBSD and OpenBSD are planning to remove the function. Windows does
// not have it.
- return TT.isOSFreeBSD() || TT.isOSDragonFly() || TT.isOSSolaris();
+ return TT.isOSFreeBSD() || TT.isOSDragonFly() || TT.isOSSolaris();
}
static bool isCallingConvCCompatible(CallingConv::ID CC, const Triple &TT,
``````````
</details>
https://github.com/llvm/llvm-project/pull/150885
More information about the llvm-commits
mailing list