Skip to content

Commit 3ecd38c

Browse files
authored
[libomptarget] Build plugins-nextgen for SystemZ (llvm#83978)
The plugin was not getting built as the build_generic_elf64 macro assumes the LLVM triple processor name matches the CMake processor name, which is unfortunately not the case for SystemZ. Fix this by providing two separate arguments instead. Actually building the plugin exposed a number of other issues causing various test failures. Specifically, I've had to add the SystemZ target to - CompilerInvocation::ParseLangArgs - linkDevice in ClangLinuxWrapper.cpp - OMPContext::OMPContext (to set the device_kind_cpu trait) - LIBOMPTARGET_ALL_TARGETS in libomptarget/CMakeLists.txt - a check_plugin_target call in libomptarget/src/CMakeLists.txt Finally, I've had to set a number of test cases to UNSUPPORTED on s390x-ibm-linux-gnu; all these tests were already marked as UNSUPPORTED for x86_64-pc-linux-gnu and aarch64-unknown-linux-gnu and are failing on s390x for what seem to be the same reason. In addition, this also requires support for BE ELF files in plugins-nextgen: llvm#83976
1 parent 15b7b31 commit 3ecd38c

37 files changed

+71
-9
lines changed

clang/lib/Frontend/CompilerInvocation.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -4012,6 +4012,7 @@ bool CompilerInvocation::ParseLangArgs(LangOptions &Opts, ArgList &Args,
40124012

40134013
if (TT.getArch() == llvm::Triple::UnknownArch ||
40144014
!(TT.getArch() == llvm::Triple::aarch64 || TT.isPPC() ||
4015+
TT.getArch() == llvm::Triple::systemz ||
40154016
TT.getArch() == llvm::Triple::nvptx ||
40164017
TT.getArch() == llvm::Triple::nvptx64 ||
40174018
TT.getArch() == llvm::Triple::amdgcn ||

clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,7 @@ Expected<StringRef> linkDevice(ArrayRef<StringRef> InputFiles,
552552
case Triple::aarch64_be:
553553
case Triple::ppc64:
554554
case Triple::ppc64le:
555+
case Triple::systemz:
555556
return generic::clang(InputFiles, Args);
556557
default:
557558
return createStringError(inconvertibleErrorCode(),

llvm/lib/Frontend/OpenMP/OMPContext.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ OMPContext::OMPContext(bool IsDeviceCompilation, Triple TargetTriple) {
4444
case Triple::ppcle:
4545
case Triple::ppc64:
4646
case Triple::ppc64le:
47+
case Triple::systemz:
4748
case Triple::x86:
4849
case Triple::x86_64:
4950
ActiveTraits.set(unsigned(TraitProperty::device_kind_cpu));

openmp/libomptarget/CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ set (LIBOMPTARGET_ALL_TARGETS "${LIBOMPTARGET_ALL_TARGETS} x86_64-pc-linux-gnu-L
5656
set (LIBOMPTARGET_ALL_TARGETS "${LIBOMPTARGET_ALL_TARGETS} nvptx64-nvidia-cuda")
5757
set (LIBOMPTARGET_ALL_TARGETS "${LIBOMPTARGET_ALL_TARGETS} nvptx64-nvidia-cuda-LTO")
5858
set (LIBOMPTARGET_ALL_TARGETS "${LIBOMPTARGET_ALL_TARGETS} nvptx64-nvidia-cuda-JIT-LTO")
59+
set (LIBOMPTARGET_ALL_TARGETS "${LIBOMPTARGET_ALL_TARGETS} s390x-ibm-linux-gnu")
60+
set (LIBOMPTARGET_ALL_TARGETS "${LIBOMPTARGET_ALL_TARGETS} s390x-ibm-linux-gnu-LTO")
5961

6062
# Once the plugins for the different targets are validated, they will be added to
6163
# the list of supported targets in the current system.

openmp/libomptarget/plugins-nextgen/CMakeLists.txt

+6-3
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,15 @@
1212

1313
add_subdirectory(common)
1414

15-
# void build_generic_elf64(string tmachine, string tmachine_name, string tmachine_libname, string elf_machine_id);
15+
# void build_generic_elf64(string tmachine, string tmachine_name, string tmachine_libname,
16+
# string tmachine_llvm, string tmachine_triple, string elf_machine_id);
1617
# - build a plugin for an ELF based generic 64-bit target based on libffi.
1718
# - tmachine: name of the machine processor as used in the cmake build system.
1819
# - tmachine_name: name of the machine to be printed with the debug messages.
1920
# - tmachine_libname: machine name to be appended to the plugin library name.
20-
macro(build_generic_elf64 tmachine tmachine_name tmachine_libname tmachine_triple elf_machine_id)
21+
# - tmachine_llvm: LLVM triple for the processor
22+
# - tmachine_triple: GNU target triple
23+
macro(build_generic_elf64 tmachine tmachine_name tmachine_libname tmachine_llvm tmachine_triple elf_machine_id)
2124
if(CMAKE_SYSTEM_PROCESSOR MATCHES "${tmachine}$")
2225
# Define macro to be used as prefix of the runtime messages for this target.
2326
add_definitions("-DTARGET_NAME=${tmachine_name}")
@@ -30,7 +33,7 @@ if(CMAKE_SYSTEM_PROCESSOR MATCHES "${tmachine}$")
3033
add_definitions("-DTARGET_ELF_ID=${elf_machine_id}")
3134

3235
# Define target triple
33-
add_definitions("-DLIBOMPTARGET_NEXTGEN_GENERIC_PLUGIN_TRIPLE=${tmachine}")
36+
add_definitions("-DLIBOMPTARGET_NEXTGEN_GENERIC_PLUGIN_TRIPLE=${tmachine_llvm}")
3437

3538
add_llvm_library("omptarget.rtl.${tmachine_libname}"
3639
SHARED

openmp/libomptarget/plugins-nextgen/aarch64/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
##===----------------------------------------------------------------------===##
1212

1313
if(CMAKE_SYSTEM_NAME MATCHES "Linux")
14-
build_generic_elf64("aarch64" "aarch64" "aarch64" "aarch64-unknown-linux-gnu" "183")
14+
build_generic_elf64("aarch64" "aarch64" "aarch64" "aarch64" "aarch64-unknown-linux-gnu" "183")
1515
else()
1616
libomptarget_say("Not building aarch64 NextGen offloading plugin: machine not found in the system.")
1717
endif()

openmp/libomptarget/plugins-nextgen/ppc64/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
##===----------------------------------------------------------------------===##
1212

1313
if(CMAKE_SYSTEM_NAME MATCHES "Linux")
14-
build_generic_elf64("ppc64" "PPC64" "ppc64" "powerpc64-ibm-linux-gnu" "21")
14+
build_generic_elf64("ppc64" "PPC64" "ppc64" "ppc64" "powerpc64-ibm-linux-gnu" "21")
1515
else()
1616
libomptarget_say("Not building ppc64 NextGen offloading plugin: machine not found in the system.")
1717
endif()

openmp/libomptarget/plugins-nextgen/ppc64le/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
##===----------------------------------------------------------------------===##
1212

1313
if(CMAKE_SYSTEM_NAME MATCHES "Linux")
14-
build_generic_elf64("ppc64le" "PPC64le" "ppc64" "powerpc64le-ibm-linux-gnu" "21")
14+
build_generic_elf64("ppc64le" "PPC64le" "ppc64" "ppc64le" "powerpc64le-ibm-linux-gnu" "21")
1515
else()
1616
libomptarget_say("Not building ppc64le NextGen offloading plugin: machine not found in the system.")
1717
endif()

openmp/libomptarget/plugins-nextgen/s390x/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
##===----------------------------------------------------------------------===##
1212

1313
if(CMAKE_SYSTEM_NAME MATCHES "Linux")
14-
build_generic_elf64("SystemZ" "S390X" "s390x" "s390x-ibm-linux-gnu" "22")
14+
build_generic_elf64("s390x" "S390X" "s390x" "systemz" "s390x-ibm-linux-gnu" "22")
1515
else()
1616
libomptarget_say("Not building s390x NextGen offloading plugin: machine not found in the system.")
1717
endif()

openmp/libomptarget/plugins-nextgen/x86_64/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
##===----------------------------------------------------------------------===##
1212

1313
if(CMAKE_SYSTEM_NAME MATCHES "Linux")
14-
build_generic_elf64("x86_64" "x86_64" "x86_64" "x86_64-pc-linux-gnu" "62")
14+
build_generic_elf64("x86_64" "x86_64" "x86_64" "x86_64" "x86_64-pc-linux-gnu" "62")
1515
else()
1616
libomptarget_say("Not building x86_64 NextGen offloading plugin: machine not found in the system.")
1717
endif()

openmp/libomptarget/src/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ if (NOT LIBOMPTARGET_PLUGINS_TO_LOAD)
7373
check_plugin_target(cuda)
7474
check_plugin_target(aarch64)
7575
check_plugin_target(amdgpu)
76+
check_plugin_target(s390x)
7677
endif()
7778

7879
list(TRANSFORM LIBOMPTARGET_PLUGINS_TO_LOAD PREPEND "\"libomptarget.rtl.")

openmp/libomptarget/test/api/omp_dynamic_shared_memory.c

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
1111
// UNSUPPORTED: aarch64-unknown-linux-gnu
1212
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
13+
// UNSUPPORTED: s390x-ibm-linux-gnu
14+
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
1315

1416
#include <omp.h>
1517
#include <stdio.h>

openmp/libomptarget/test/jit/empty_kernel_lvl1.c

+2
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,7 @@
3232
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
3333
// UNSUPPORTED: x86_64-pc-linux-gnu
3434
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
35+
// UNSUPPORTED: s390x-ibm-linux-gnu
36+
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
3537

3638
#include "empty_kernel.inc"

openmp/libomptarget/test/jit/empty_kernel_lvl2.c

+2
Original file line numberDiff line numberDiff line change
@@ -92,5 +92,7 @@
9292
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
9393
// UNSUPPORTED: x86_64-pc-linux-gnu
9494
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
95+
// UNSUPPORTED: s390x-ibm-linux-gnu
96+
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
9597

9698
#include "empty_kernel.inc"

openmp/libomptarget/test/jit/type_punning.c

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
1313
// UNSUPPORTED: x86_64-pc-linux-gnu
1414
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
15+
// UNSUPPORTED: s390x-ibm-linux-gnu
16+
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
1517

1618
// Ensure that there is only the kernel function left, not any outlined
1719
// parallel regions.

openmp/libomptarget/test/mapping/auto_zero_copy.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
// UNSUPPORTED: nvptx64-nvidia-cuda-LTO
1414
// UNSUPPORTED: x86_64-pc-linux-gnu
1515
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
16+
// UNSUPPORTED: s390x-ibm-linux-gnu
17+
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
1618

1719
// REQUIRES: unified_shared_memory
1820

openmp/libomptarget/test/mapping/auto_zero_copy_globals.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
// UNSUPPORTED: nvptx64-nvidia-cuda-LTO
1010
// UNSUPPORTED: x86_64-pc-linux-gnu
1111
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
12+
// UNSUPPORTED: s390x-ibm-linux-gnu
13+
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
1214

1315
// REQUIRES: unified_shared_memory
1416

openmp/libomptarget/test/offloading/barrier_fence.c

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
88
// UNSUPPORTED: x86_64-pc-linux-gnu
99
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
10+
// UNSUPPORTED: s390x-ibm-linux-gnu
11+
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
1012

1113
#include <omp.h>
1214
#include <stdio.h>

openmp/libomptarget/test/offloading/bug49334.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
1010
// UNSUPPORTED: aarch64-unknown-linux-gnu
1111
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
12+
// UNSUPPORTED: s390x-ibm-linux-gnu
13+
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
1214
// UNSUPPORTED: amdgcn-amd-amdhsa
1315
// UNSUPPORTED: nvptx64-nvidia-cuda
1416
// UNSUPPORTED: nvptx64-nvidia-cuda-LTO

openmp/libomptarget/test/offloading/default_thread_limit.c

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
1010
// UNSUPPORTED: x86_64-pc-linux-gnu
1111
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
12+
// UNSUPPORTED: s390x-ibm-linux-gnu
13+
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
1214

1315
__attribute__((optnone)) int optnone() { return 1; }
1416

openmp/libomptarget/test/offloading/ompx_bare.c

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
// RUN: %libomptarget-compile-generic
2-
// RUN: env LIBOMPTARGET_INFO=63 %libomptarget-run-generic 2>&1 | %fcheck-generic
2+
// RUN: env LIBOMPTARGET_INFO=63 %libomptarget-run-generic 2>&1 | \
3+
// RUN: %fcheck-generic
34
//
45
// UNSUPPORTED: x86_64-pc-linux-gnu
56
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
67
// UNSUPPORTED: aarch64-unknown-linux-gnu
78
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
9+
// UNSUPPORTED: s390x-ibm-linux-gnu
10+
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
811

912
#include <assert.h>
1013
#include <ompx.h>

openmp/libomptarget/test/offloading/ompx_coords.c

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
55
// UNSUPPORTED: aarch64-unknown-linux-gnu
66
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
7+
// UNSUPPORTED: s390x-ibm-linux-gnu
8+
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
79

810
#include <omp.h>
911
#include <ompx.h>

openmp/libomptarget/test/offloading/ompx_saxpy_mixed.c

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
55
// UNSUPPORTED: aarch64-unknown-linux-gnu
66
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
7+
// UNSUPPORTED: s390x-ibm-linux-gnu
8+
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
79

810
#include <math.h>
911
#include <omp.h>

openmp/libomptarget/test/offloading/parallel_target_teams_reduction.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
77
// UNSUPPORTED: x86_64-pc-linux-gnu
88
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
9+
// UNSUPPORTED: s390x-ibm-linux-gnu
10+
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
911

1012
#include <iostream>
1113
#include <vector>

openmp/libomptarget/test/offloading/small_trip_count.c

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
1010
// UNSUPPORTED: x86_64-pc-linux-gnu
1111
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
12+
// UNSUPPORTED: s390x-ibm-linux-gnu
13+
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
1214

1315
#define N 128
1416

openmp/libomptarget/test/offloading/small_trip_count_thread_limit.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
88
// UNSUPPORTED: x86_64-pc-linux-gnu
99
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
10+
// UNSUPPORTED: s390x-ibm-linux-gnu
11+
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
1012

1113
int main(int argc, char *argv[]) {
1214
constexpr const int block_size = 256;

openmp/libomptarget/test/offloading/spmdization.c

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
1212
// UNSUPPORTED: x86_64-pc-linux-gnu
1313
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
14+
// UNSUPPORTED: s390x-ibm-linux-gnu
15+
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
1416

1517
#include <omp.h>
1618
#include <stdio.h>

openmp/libomptarget/test/offloading/target_critical_region.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
// UNSUPPORTED: nvptx64-nvidia-cuda-LTO
77
// UNSUPPORTED: x86_64-pc-linux-gnu
88
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
9+
// UNSUPPORTED: s390x-ibm-linux-gnu
10+
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
911
// UNSUPPORTED: amdgcn-amd-amdhsa
1012

1113
#include <omp.h>

openmp/libomptarget/test/offloading/thread_limit.c

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
1010
// UNSUPPORTED: x86_64-pc-linux-gnu
1111
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
12+
// UNSUPPORTED: s390x-ibm-linux-gnu
13+
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
1214

1315
int main() {
1416
int n = 1 << 20;

openmp/libomptarget/test/ompt/target_memcpy.c

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
55
// UNSUPPORTED: x86_64-pc-linux-gnu
66
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
7+
// UNSUPPORTED: s390x-ibm-linux-gnu
8+
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
79

810
/*
911
* Verify that for the target OpenMP APIs, the return address is non-null and

openmp/libomptarget/test/ompt/target_memcpy_emi.c

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
55
// UNSUPPORTED: x86_64-pc-linux-gnu
66
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
7+
// UNSUPPORTED: s390x-ibm-linux-gnu
8+
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
79

810
/*
911
* Verify all three data transfer directions: H2D, D2D and D2H

openmp/libomptarget/test/ompt/veccopy.c

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
55
// UNSUPPORTED: x86_64-pc-linux-gnu
66
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
7+
// UNSUPPORTED: s390x-ibm-linux-gnu
8+
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
79

810
/*
911
* Example OpenMP program that registers non-EMI callbacks

openmp/libomptarget/test/ompt/veccopy_data.c

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
55
// UNSUPPORTED: x86_64-pc-linux-gnu
66
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
7+
// UNSUPPORTED: s390x-ibm-linux-gnu
8+
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
79

810
/*
911
* Example OpenMP program that registers EMI callbacks.

openmp/libomptarget/test/ompt/veccopy_disallow_both.c

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
55
// UNSUPPORTED: x86_64-pc-linux-gnu
66
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
7+
// UNSUPPORTED: s390x-ibm-linux-gnu
8+
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
79

810
/*
911
* Example OpenMP program that shows that both EMI and non-EMI

openmp/libomptarget/test/ompt/veccopy_emi.c

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
55
// UNSUPPORTED: x86_64-pc-linux-gnu
66
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
7+
// UNSUPPORTED: s390x-ibm-linux-gnu
8+
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
79

810
/*
911
* Example OpenMP program that registers EMI callbacks

openmp/libomptarget/test/ompt/veccopy_emi_map.c

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
55
// UNSUPPORTED: x86_64-pc-linux-gnu
66
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
7+
// UNSUPPORTED: s390x-ibm-linux-gnu
8+
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
79

810
/*
911
* Example OpenMP program that shows that map-EMI callbacks are not supported.

openmp/libomptarget/test/ompt/veccopy_map.c

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
55
// UNSUPPORTED: x86_64-pc-linux-gnu
66
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
7+
// UNSUPPORTED: s390x-ibm-linux-gnu
8+
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
79

810
/*
911
* Example OpenMP program that shows that map callbacks are not supported.

0 commit comments

Comments
 (0)