[llvm] [CodeGen] Support SLPVectorizer cases of tan across all backends (PR #95517)

via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 14 01:55:29 PDT 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 f2d215f572affc9ad73da07763ce1831de7f2d4d 4e45379ce5d29b4a001171a6c707b9be2b5b3067 -- llvm/include/llvm/Analysis/TargetLibraryInfo.h llvm/include/llvm/Analysis/TargetTransformInfoImpl.h llvm/lib/Analysis/ValueTracking.cpp llvm/lib/CodeGen/TargetLoweringBase.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 ce0cc38baf..bb882f02a6 100644
--- a/llvm/include/llvm/Analysis/TargetLibraryInfo.h
+++ b/llvm/include/llvm/Analysis/TargetLibraryInfo.h
@@ -415,7 +415,7 @@ public:
       return false;
     switch (F) {
     default: break;
-    // clang-format off
+      // clang-format off
     case LibFunc_copysign:     case LibFunc_copysignf:  case LibFunc_copysignl:
     case LibFunc_fabs:         case LibFunc_fabsf:      case LibFunc_fabsl:
     case LibFunc_sin:          case LibFunc_sinf:       case LibFunc_sinl:
@@ -439,7 +439,7 @@ public:
     case LibFunc_memcmp:       case LibFunc_bcmp:       case LibFunc_strcmp:
     case LibFunc_strcpy:       case LibFunc_stpcpy:     case LibFunc_strlen:
     case LibFunc_strnlen:      case LibFunc_memchr:     case LibFunc_mempcpy:
-    // clang-format on
+      // clang-format on
       return true;
     }
     return false;

``````````

</details>


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


More information about the llvm-commits mailing list