[llvm] [clang] Adding support of AMDLIBM vector library (PR #78560)

via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 30 04:40:27 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 f1226eea52e21b6325cf24cf0d7ccd6a517baee5 4fdcf97e7fc1f60ab851045a16c827ecfe2e5d31 -- clang/test/Driver/autocomplete.c llvm/include/llvm/Analysis/TargetLibraryInfo.h llvm/include/llvm/Frontend/Driver/CodeGenOptions.h llvm/lib/Analysis/TargetLibraryInfo.cpp llvm/lib/Frontend/Driver/CodeGenOptions.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/include/llvm/Analysis/TargetLibraryInfo.h b/llvm/include/llvm/Analysis/TargetLibraryInfo.h
index ac184de84d..46f31f918e 100644
--- a/llvm/include/llvm/Analysis/TargetLibraryInfo.h
+++ b/llvm/include/llvm/Analysis/TargetLibraryInfo.h
@@ -130,7 +130,7 @@ public:
     SVML,             // Intel short vector math library.
     SLEEFGNUABI, // SLEEF - SIMD Library for Evaluating Elementary Functions.
     ArmPL,       // Arm Performance Libraries.
-    AMDLIBM           // AMD Math Vector library.
+    AMDLIBM      // AMD Math Vector library.
   };
 
   TargetLibraryInfoImpl();

``````````

</details>


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


More information about the cfe-commits mailing list