[llvm] Emit float128 libcalls for some F128 variants (PR #79611)

via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 8 11:17:08 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 369b82218419a0218400e7483255523b8dfd6cf0 890b5383393c5beeb94c1a75fef126f18a5fad68 -- llvm/lib/CodeGen/TargetLoweringBase.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/lib/CodeGen/TargetLoweringBase.cpp b/llvm/lib/CodeGen/TargetLoweringBase.cpp
index 05de17d93d..dde87f717c 100644
--- a/llvm/lib/CodeGen/TargetLoweringBase.cpp
+++ b/llvm/lib/CodeGen/TargetLoweringBase.cpp
@@ -122,7 +122,8 @@ void TargetLoweringBase::InitLibcalls(const Triple &TT) {
   for (int LC = 0; LC < RTLIB::UNKNOWN_LIBCALL; ++LC)
     setLibcallCallingConv((RTLIB::Libcall)LC, CallingConv::C);
 
-  // For float128 libcall names, use the f128 variants of math functions on x86_64
+  // For float128 libcall names, use the f128 variants of math functions on
+  // x86_64
   if (TT.getArch() == Triple::ArchType::x86_64) {
     setLibcallName(RTLIB::REM_F128, "fmodf128");
     setLibcallName(RTLIB::FMA_F128, "fmaf128");

``````````

</details>


https://github.com/llvm/llvm-project/pull/79611


More information about the llvm-commits mailing list