[Openmp-commits] [openmp] [openmp] Add initial ARM64EC support (PR #138769)
via Openmp-commits
openmp-commits at lists.llvm.org
Tue May 6 14:52:25 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 h -- openmp/runtime/src/kmp_platform.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/openmp/runtime/src/kmp_platform.h b/openmp/runtime/src/kmp_platform.h
index 03853bb1c..43e2cf80c 100644
--- a/openmp/runtime/src/kmp_platform.h
+++ b/openmp/runtime/src/kmp_platform.h
@@ -133,7 +133,8 @@
#define KMP_ARCH_SPARC 0
#if KMP_OS_WINDOWS
-#if defined(__aarch64__) || defined(_M_ARM64) || defined(__arm64ec__) || defined(_M_ARM64EC)
+#if defined(__aarch64__) || defined(_M_ARM64) || defined(__arm64ec__) || \
+ defined(_M_ARM64EC)
#undef KMP_ARCH_AARCH64
#define KMP_ARCH_AARCH64 1
#elif defined(__arm__) || defined(_M_ARM)
``````````
</details>
https://github.com/llvm/llvm-project/pull/138769
More information about the Openmp-commits
mailing list