[Openmp-commits] [PATCH] D137541: [OMPT] Drop LoongArch support
Limin Zhang via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Mon Nov 7 04:17:14 PST 2022
Ami-zhang created this revision.
Ami-zhang added reviewers: SixWeining, wangleiat, xen0n, MaskRay, xry111, prcups.
Herald added subscribers: StephenFan, s.egerton, simoncook.
Herald added a project: All.
Ami-zhang requested review of this revision.
Herald added subscribers: openmp-commits, pcwang-thead.
Herald added a project: OpenMP.
Currently, __builtin_frame_address() is required for OMPT. And
LoongArch only supports the current frame (i.e. depth = 0). So
this will fail if the depth != 0.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D137541
Files:
openmp/README.rst
openmp/runtime/cmake/config-ix.cmake
Index: openmp/runtime/cmake/config-ix.cmake
===================================================================
--- openmp/runtime/cmake/config-ix.cmake
+++ openmp/runtime/cmake/config-ix.cmake
@@ -320,8 +320,7 @@
(LIBOMP_ARCH STREQUAL aarch64_a64fx) OR
(LIBOMP_ARCH STREQUAL ppc64le) OR
(LIBOMP_ARCH STREQUAL ppc64) OR
- (LIBOMP_ARCH STREQUAL riscv64) OR
- (LIBOMP_ARCH STREQUAL loongarch64))
+ (LIBOMP_ARCH STREQUAL riscv64))
AND # OS supported?
((WIN32 AND LIBOMP_HAVE_PSAPI) OR APPLE OR (NOT WIN32 AND LIBOMP_HAVE_WEAK_ATTRIBUTE)))
set(LIBOMP_HAVE_OMPT_SUPPORT TRUE)
Index: openmp/README.rst
===================================================================
--- openmp/README.rst
+++ openmp/README.rst
@@ -194,7 +194,7 @@
**LIBOMP_OMPT_SUPPORT** = ``ON|OFF``
Include support for the OpenMP Tools Interface (OMPT).
This option is supported and ``ON`` by default for x86, x86_64, AArch64,
- PPC64, RISCV64 and LoongArch64 on Linux* and macOS*.
+ PPC64 and RISCV64 on Linux* and macOS*.
This option is ``OFF`` if this feature is not supported for the platform.
**LIBOMP_OMPT_OPTIONAL** = ``ON|OFF``
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137541.473619.patch
Type: text/x-patch
Size: 1170 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20221107/6c364c69/attachment.bin>
More information about the Openmp-commits
mailing list