[llvm] [offload][lit] XFAIL all failing tests on the Level Zero plugin (PR #174804)
Nick Sarnie via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 7 11:08:16 PST 2026
https://github.com/sarnex updated https://github.com/llvm/llvm-project/pull/174804
>From 5b4de6319dc8bdf1988832b90370bcff31cbbc5e Mon Sep 17 00:00:00 2001
From: Nick Sarnie <nick.sarnie at intel.com>
Date: Wed, 7 Jan 2026 09:02:03 -0800
Subject: [PATCH 1/2] [offload][lit] XFAIL all failing tests on the Level Zero
plugin
Signed-off-by: Nick Sarnie <nick.sarnie at intel.com>
---
offload/test/api/assert.c | 1 +
offload/test/api/omp_device_alloc.c | 1 +
offload/test/api/omp_device_managed_memory.c | 1 +
offload/test/api/omp_device_managed_memory_alloc.c | 1 +
offload/test/api/omp_device_memory.c | 1 +
offload/test/api/omp_device_uid.c | 1 +
offload/test/api/omp_dynamic_shared_memory.c | 1 +
offload/test/api/omp_env_vars.c | 1 +
offload/test/api/omp_get_device_num.c | 1 +
offload/test/api/omp_get_mapped_ptr.c | 1 +
offload/test/api/omp_get_num_devices.c | 1 +
offload/test/api/omp_get_num_procs.c | 1 +
offload/test/api/omp_host_call.c | 1 +
offload/test/api/omp_host_pinned_memory.c | 1 +
offload/test/api/omp_host_pinned_memory_alloc.c | 1 +
offload/test/api/omp_indirect_call.c | 1 +
offload/test/api/omp_indirect_call_table_manual.c | 1 +
offload/test/api/ompx_3d.c | 1 +
offload/test/api/ompx_3d.cpp | 1 +
offload/test/api/ompx_sync.c | 1 +
offload/test/api/ompx_sync.cpp | 1 +
offload/test/env/base_ptr_ref_count.c | 3 +++
offload/test/env/omp_target_debug.c | 3 +++
offload/test/jit/empty_kernel_lvl1.c | 1 +
offload/test/jit/empty_kernel_lvl2.c | 1 +
offload/test/jit/type_punning.c | 1 +
offload/test/libc/malloc_parallel.c | 1 +
offload/test/lit.cfg | 6 ++++++
offload/test/mapping/array_section_implicit_capture.c | 1 +
offload/test/mapping/chained_containing_structs_1.cc | 1 +
offload/test/mapping/chained_containing_structs_2.cc | 1 +
offload/test/mapping/chained_containing_structs_3.cc | 1 +
offload/test/mapping/data_member_ref.cpp | 1 +
.../test/mapping/declare_mapper_nested_default_mappers.cpp | 1 +
.../mapping/declare_mapper_nested_default_mappers_1.cpp | 1 +
offload/test/mapping/declare_mapper_nested_mappers.cpp | 1 +
offload/test/mapping/declare_mapper_target.cpp | 1 +
offload/test/mapping/declare_mapper_target_data.cpp | 1 +
.../test/mapping/declare_mapper_target_data_enter_exit.cpp | 1 +
offload/test/mapping/declare_mapper_target_update.cpp | 1 +
offload/test/mapping/delete_inf_refcount.c | 1 +
offload/test/mapping/device_ptr_update.c | 1 +
offload/test/mapping/duplicate_mappings_1.cpp | 1 +
offload/test/mapping/duplicate_mappings_2.cpp | 1 +
offload/test/mapping/firstprivate_aligned.cpp | 1 +
offload/test/mapping/has_device_addr.cpp | 1 +
offload/test/mapping/implicit_device_ptr.c | 1 +
offload/test/mapping/is_accessible.cpp | 1 +
offload/test/mapping/is_device_ptr.cpp | 1 +
offload/test/mapping/lambda_by_value.cpp | 1 +
offload/test/mapping/low_alignment.c | 1 +
offload/test/mapping/map_both_pointer_pointee.c | 1 +
offload/test/mapping/map_ptr_and_star_local.c | 1 +
offload/test/mapping/map_structptr_and_member_global.c | 1 +
offload/test/mapping/map_structptr_and_member_local.c | 1 +
offload/test/mapping/ompx_hold/struct.c | 1 +
offload/test/mapping/ompx_hold/target.c | 1 +
offload/test/mapping/pr38704.c | 1 +
offload/test/mapping/prelock.cpp | 1 +
offload/test/mapping/present/target.c | 1 +
offload/test/mapping/present/target_array_extension.c | 1 +
offload/test/mapping/present/unified_shared_memory.c | 1 +
offload/test/mapping/present/zero_length_array_section.c | 1 +
offload/test/mapping/private_mapping.c | 1 +
offload/test/mapping/ptr_and_obj_motion.c | 1 +
offload/test/mapping/reduction_implicit_map.cpp | 1 +
offload/test/mapping/target_data_array_extension_at_exit.c | 1 +
offload/test/mapping/target_derefence_array_pointrs.cpp | 1 +
offload/test/mapping/target_has_device_addr.c | 1 +
offload/test/mapping/target_implicit_partial_map.c | 1 +
offload/test/mapping/target_map_for_member_data.cpp | 1 +
offload/test/mapping/target_uses_allocator.c | 1 +
.../test/mapping/use_device_addr/target_use_device_addr.c | 1 +
offload/test/offloading/CUDA/basic_launch.cu | 1 +
.../test/offloading/CUDA/basic_launch_blocks_and_threads.cu | 1 +
offload/test/offloading/CUDA/basic_launch_multi_arg.cu | 1 +
offload/test/offloading/CUDA/launch_tu.cu | 1 +
offload/test/offloading/assert.cpp | 1 +
offload/test/offloading/atomic-compare-signedness.c | 1 +
offload/test/offloading/back2back_distribute.c | 4 +++-
offload/test/offloading/bug47654.cpp | 1 +
offload/test/offloading/bug49021.cpp | 3 +++
offload/test/offloading/bug49334.cpp | 1 +
offload/test/offloading/bug49779.cpp | 1 +
offload/test/offloading/bug50022.cpp | 1 +
offload/test/offloading/bug51781.c | 1 +
offload/test/offloading/bug51982.c | 1 +
offload/test/offloading/bug53727.cpp | 1 +
offload/test/offloading/bug64959.c | 1 +
offload/test/offloading/bug64959_compile_only.c | 1 +
offload/test/offloading/bug74582.c | 1 +
offload/test/offloading/complex_reduction.cpp | 3 +++
offload/test/offloading/ctor_dtor.cpp | 1 +
offload/test/offloading/ctor_dtor_api.cpp | 1 +
offload/test/offloading/ctor_dtor_lazy.cpp | 1 +
offload/test/offloading/cuda_no_devices.c | 1 +
offload/test/offloading/d2d_memcpy.c | 1 +
offload/test/offloading/default_thread_limit.c | 1 +
offload/test/offloading/dynamic_module.c | 3 +++
offload/test/offloading/dynamic_module_load.c | 4 +++-
offload/test/offloading/extern.c | 4 +++-
offload/test/offloading/force-usm.cpp | 1 +
.../test/offloading/fortran/basic-target-parallel-do.f90 | 1 +
.../offloading/fortran/basic-target-parallel-region.f90 | 1 +
.../offloading/fortran/basic-target-region-3D-array.f90 | 1 +
.../fortran/double-target-call-with-declare-target.f90 | 1 +
offload/test/offloading/fortran/dump_map_tables.f90 | 1 +
.../offloading/fortran/target-map-derived-type-full-1.f90 | 1 +
.../offloading/fortran/target-map-derived-type-full-2.f90 | 1 +
.../target-map-dtype-explicit-individual-array-member.f90 | 1 +
...rget-map-dtype-multi-explicit-array-3D-member-bounds.f90 | 1 +
.../target-map-dtype-multi-explicit-array-member-bounds.f90 | 1 +
.../target-map-dtype-multi-explicit-array-member.f90 | 1 +
.../fortran/target-map-dtype-multi-explicit-member.f90 | 1 +
.../test/offloading/fortran/target-map-enter-exit-array.f90 | 1 +
.../offloading/fortran/target-map-enter-exit-scalar.f90 | 1 +
.../fortran/target-map-individual-dtype-member-map.f90 | 1 +
.../fortran/target-map-nested-dtype-complex-member.f90 | 1 +
.../fortran/target-map-nested-dtype-derived-member.f90 | 1 +
.../fortran/target-map-nested-dtype-multi-member.f90 | 1 +
.../target-map-pointer-target-array-section-3d-bounds.f90 | 1 +
.../fortran/target-map-two-dtype-explicit-member.f90 | 1 +
offload/test/offloading/fortran/target-no-loop.f90 | 1 +
.../offloading/fortran/target-region-implicit-array.f90 | 1 +
offload/test/offloading/generic_multiple_parallel_regions.c | 1 +
offload/test/offloading/global_constructor.cpp | 3 +++
offload/test/offloading/high_trip_count_block_limit.cpp | 1 +
offload/test/offloading/host_as_target.c | 1 +
offload/test/offloading/indirect_fp_mapping.c | 1 +
offload/test/offloading/info.c | 1 +
offload/test/offloading/interop-print.c | 1 +
offload/test/offloading/interop.c | 1 +
offload/test/offloading/looptripcnt.c | 3 +++
offload/test/offloading/malloc.c | 1 +
offload/test/offloading/memory_manager.cpp | 1 +
offload/test/offloading/multiple_reductions_simple.c | 1 +
offload/test/offloading/offloading_success.c | 1 +
offload/test/offloading/offloading_success.cpp | 1 +
offload/test/offloading/ompx_bare.c | 1 +
offload/test/offloading/ompx_bare_ballot_sync.c | 1 +
offload/test/offloading/ompx_bare_multi_dim.cpp | 3 +++
offload/test/offloading/ompx_bare_shfl_down_sync.cpp | 1 +
offload/test/offloading/ompx_coords.c | 1 +
offload/test/offloading/ompx_saxpy_mixed.c | 1 +
offload/test/offloading/parallel_offloading_map.cpp | 1 +
offload/test/offloading/parallel_target_teams_reduction.cpp | 1 +
.../test/offloading/parallel_target_teams_reduction_max.cpp | 1 +
.../test/offloading/parallel_target_teams_reduction_min.cpp | 1 +
offload/test/offloading/requires.c | 1 +
offload/test/offloading/shared_lib_fp_mapping.c | 1 +
offload/test/offloading/small_trip_count.c | 1 +
offload/test/offloading/small_trip_count_thread_limit.cpp | 1 +
offload/test/offloading/spmdization.c | 1 +
offload/test/offloading/static_linking.c | 3 +++
offload/test/offloading/std_complex_arithmetic.cpp | 1 +
offload/test/offloading/strided_multiple_update.c | 1 +
offload/test/offloading/strided_partial_update.c | 1 +
offload/test/offloading/strided_ptr_multiple_update_from.c | 1 +
offload/test/offloading/strided_ptr_multiple_update_to.c | 1 +
offload/test/offloading/strided_ptr_partial_update_from.c | 1 +
offload/test/offloading/strided_ptr_partial_update_to.c | 1 +
offload/test/offloading/strided_update.c | 1 +
offload/test/offloading/struct_mapping_with_pointers.cpp | 1 +
offload/test/offloading/target-teams-atomic.c | 1 +
offload/test/offloading/target-tile.c | 1 +
offload/test/offloading/target_constexpr_mapping.cpp | 1 +
offload/test/offloading/target_critical_region.cpp | 1 +
offload/test/offloading/target_depend_nowait.cpp | 1 +
offload/test/offloading/target_map_for_member_data.cpp | 1 +
offload/test/offloading/target_nowait_target.cpp | 1 +
offload/test/offloading/target_update_from.c | 1 +
offload/test/offloading/target_update_strided_struct_from.c | 1 +
.../offloading/target_update_strided_struct_multiple_from.c | 1 +
.../offloading/target_update_strided_struct_multiple_to.c | 1 +
.../offloading/target_update_strided_struct_partial_from.c | 1 +
.../offloading/target_update_strided_struct_partial_to.c | 1 +
offload/test/offloading/target_update_strided_struct_to.c | 1 +
offload/test/offloading/target_update_to.c | 1 +
offload/test/offloading/task_in_reduction_target.c | 1 +
offload/test/offloading/taskloop_offload_nowait.cpp | 1 +
offload/test/offloading/test_libc.cpp | 1 +
offload/test/offloading/thread_limit.c | 1 +
offload/test/offloading/thread_state_1.c | 1 +
offload/test/offloading/thread_state_2.c | 1 +
offload/test/offloading/weak.c | 1 +
offload/test/offloading/workshare_chunk.c | 1 +
offload/test/offloading/wtime.c | 1 +
offload/test/ompt/veccopy.c | 1 +
offload/test/ompt/veccopy_data.c | 1 +
offload/test/ompt/veccopy_disallow_both.c | 1 +
offload/test/ompt/veccopy_emi.c | 1 +
offload/test/ompt/veccopy_emi_map.c | 1 +
offload/test/ompt/veccopy_map.c | 1 +
offload/test/ompt/veccopy_no_device_init.c | 1 +
offload/test/ompt/veccopy_wrong_return.c | 1 +
offload/test/sanitizer/double_free.c | 1 +
offload/test/sanitizer/double_free_racy.c | 1 +
offload/test/sanitizer/free_host_ptr.c | 1 +
offload/test/sanitizer/free_wrong_ptr_kind.c | 1 +
offload/test/sanitizer/free_wrong_ptr_kind.cpp | 1 +
offload/test/sanitizer/kernel_crash.c | 1 +
offload/test/sanitizer/kernel_crash_async.c | 1 +
offload/test/sanitizer/kernel_crash_many.c | 1 +
offload/test/sanitizer/kernel_crash_single.c | 1 +
offload/test/sanitizer/kernel_trap.c | 1 +
offload/test/sanitizer/kernel_trap.cpp | 1 +
offload/test/sanitizer/kernel_trap_async.c | 1 +
offload/test/sanitizer/kernel_trap_many.c | 1 +
offload/test/sanitizer/ptr_outside_alloc_1.c | 1 +
offload/test/sanitizer/ptr_outside_alloc_2.c | 1 +
offload/test/sanitizer/use_after_free_1.c | 1 +
offload/test/sanitizer/use_after_free_2.c | 1 +
offload/test/tools/llvm-omp-device-info.c | 1 +
offload/test/unified_shared_memory/api.c | 1 +
offload/test/unified_shared_memory/associate_ptr.c | 1 +
offload/test/unified_shared_memory/close_enter_exit.c | 1 +
offload/test/unified_shared_memory/close_manual.c | 1 +
offload/test/unified_shared_memory/close_member.c | 1 +
offload/test/unified_shared_memory/close_modifier.c | 1 +
offload/test/unified_shared_memory/shared_update.c | 1 +
220 files changed, 249 insertions(+), 3 deletions(-)
diff --git a/offload/test/api/assert.c b/offload/test/api/assert.c
index 9a9e770f19622..7ea7b95273cce 100644
--- a/offload/test/api/assert.c
+++ b/offload/test/api/assert.c
@@ -1,5 +1,6 @@
// RUN: %libomptarget-compile-run-and-check-generic
// RUN: %libomptarget-compileopt-run-and-check-generic
+// XFAIL: intelgpu
#include <assert.h>
#include <stdio.h>
diff --git a/offload/test/api/omp_device_alloc.c b/offload/test/api/omp_device_alloc.c
index 0f4499d0efaf3..2758fb9486223 100644
--- a/offload/test/api/omp_device_alloc.c
+++ b/offload/test/api/omp_device_alloc.c
@@ -2,6 +2,7 @@
// UNSUPPORTED: nvidiagpu
// UNSUPPORTED: amdgpu
+// XFAIL: intelgpu
#include <assert.h>
#include <omp.h>
diff --git a/offload/test/api/omp_device_managed_memory.c b/offload/test/api/omp_device_managed_memory.c
index 2a9fe09a8334c..b0f34a4209af1 100644
--- a/offload/test/api/omp_device_managed_memory.c
+++ b/offload/test/api/omp_device_managed_memory.c
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/api/omp_device_managed_memory_alloc.c b/offload/test/api/omp_device_managed_memory_alloc.c
index c48866922deba..fcacd4015ca49 100644
--- a/offload/test/api/omp_device_managed_memory_alloc.c
+++ b/offload/test/api/omp_device_managed_memory_alloc.c
@@ -1,5 +1,6 @@
// RUN: %libomptarget-compile-run-and-check-generic
// RUN: %libomptarget-compileopt-run-and-check-generic
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/api/omp_device_memory.c b/offload/test/api/omp_device_memory.c
index 8876fc91ba403..b1b58b100521a 100644
--- a/offload/test/api/omp_device_memory.c
+++ b/offload/test/api/omp_device_memory.c
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/api/omp_device_uid.c b/offload/test/api/omp_device_uid.c
index 2a41d8d04ef8a..9cef5f9667b83 100644
--- a/offload/test/api/omp_device_uid.c
+++ b/offload/test/api/omp_device_uid.c
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/api/omp_dynamic_shared_memory.c b/offload/test/api/omp_dynamic_shared_memory.c
index 76f625f07bfaf..e12b97d34edb2 100644
--- a/offload/test/api/omp_dynamic_shared_memory.c
+++ b/offload/test/api/omp_dynamic_shared_memory.c
@@ -7,6 +7,7 @@
// RUN: %libomptarget-run-generic | %fcheck-generic
// REQUIRES: gpu
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/api/omp_env_vars.c b/offload/test/api/omp_env_vars.c
index a8a574be8c849..9ee5e68dec029 100644
--- a/offload/test/api/omp_env_vars.c
+++ b/offload/test/api/omp_env_vars.c
@@ -2,6 +2,7 @@
// RUN: env OMP_NUM_TEAMS=1 OMP_TEAMS_THREAD_LIMIT=1 LIBOMPTARGET_INFO=16 \
// RUN: %libomptarget-run-generic 2>&1 | %fcheck-generic
// REQUIRES: gpu
+// XFAIL: intelgpu
#define N 256
diff --git a/offload/test/api/omp_get_device_num.c b/offload/test/api/omp_get_device_num.c
index 31e13b0050d41..ca82004f7e0a2 100644
--- a/offload/test/api/omp_get_device_num.c
+++ b/offload/test/api/omp_get_device_num.c
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/api/omp_get_mapped_ptr.c b/offload/test/api/omp_get_mapped_ptr.c
index a8e11f912d668..4436c02259b68 100644
--- a/offload/test/api/omp_get_mapped_ptr.c
+++ b/offload/test/api/omp_get_mapped_ptr.c
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compile-and-run-generic
+// XFAIL: intelgpu
#include <assert.h>
#include <omp.h>
diff --git a/offload/test/api/omp_get_num_devices.c b/offload/test/api/omp_get_num_devices.c
index e8fbdcd1a1de0..9588bff3baa3d 100644
--- a/offload/test/api/omp_get_num_devices.c
+++ b/offload/test/api/omp_get_num_devices.c
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/api/omp_get_num_procs.c b/offload/test/api/omp_get_num_procs.c
index e958d0cf3492f..24222d32983b4 100644
--- a/offload/test/api/omp_get_num_procs.c
+++ b/offload/test/api/omp_get_num_procs.c
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
#include <stdio.h>
diff --git a/offload/test/api/omp_host_call.c b/offload/test/api/omp_host_call.c
index 40d3dc7258291..19f4f666cf98a 100644
--- a/offload/test/api/omp_host_call.c
+++ b/offload/test/api/omp_host_call.c
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
#include <assert.h>
#include <omp.h>
diff --git a/offload/test/api/omp_host_pinned_memory.c b/offload/test/api/omp_host_pinned_memory.c
index 7a6a00d489d5a..fe6f227131e1e 100644
--- a/offload/test/api/omp_host_pinned_memory.c
+++ b/offload/test/api/omp_host_pinned_memory.c
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/api/omp_host_pinned_memory_alloc.c b/offload/test/api/omp_host_pinned_memory_alloc.c
index fa3e2455d3714..4dff6dfa0ffc3 100644
--- a/offload/test/api/omp_host_pinned_memory_alloc.c
+++ b/offload/test/api/omp_host_pinned_memory_alloc.c
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/api/omp_indirect_call.c b/offload/test/api/omp_indirect_call.c
index ac0febf7854da..b3e98d56a7706 100644
--- a/offload/test/api/omp_indirect_call.c
+++ b/offload/test/api/omp_indirect_call.c
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
#include <assert.h>
#include <stdio.h>
diff --git a/offload/test/api/omp_indirect_call_table_manual.c b/offload/test/api/omp_indirect_call_table_manual.c
index e958d47d69dad..8a7b23fa3fd8a 100644
--- a/offload/test/api/omp_indirect_call_table_manual.c
+++ b/offload/test/api/omp_indirect_call_table_manual.c
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
#include <assert.h>
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/api/ompx_3d.c b/offload/test/api/ompx_3d.c
index 2ae17c226f3a4..a2cae05d45660 100644
--- a/offload/test/api/ompx_3d.c
+++ b/offload/test/api/ompx_3d.c
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
#include <omp.h>
#include <ompx.h>
diff --git a/offload/test/api/ompx_3d.cpp b/offload/test/api/ompx_3d.cpp
index 5b5491263a917..9fa29bb3ddf64 100644
--- a/offload/test/api/ompx_3d.cpp
+++ b/offload/test/api/ompx_3d.cpp
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compilexx-run-and-check-generic
+// XFAIL: intelgpu
#include <omp.h>
#include <ompx.h>
diff --git a/offload/test/api/ompx_sync.c b/offload/test/api/ompx_sync.c
index b71eba43f5537..cf590d9722044 100644
--- a/offload/test/api/ompx_sync.c
+++ b/offload/test/api/ompx_sync.c
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
#include <omp.h>
#include <ompx.h>
diff --git a/offload/test/api/ompx_sync.cpp b/offload/test/api/ompx_sync.cpp
index c6e17103459d0..499eeecc7594e 100644
--- a/offload/test/api/ompx_sync.cpp
+++ b/offload/test/api/ompx_sync.cpp
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compilexx-run-and-check-generic
+// XFAIL: intelgpu
#include <omp.h>
#include <ompx.h>
diff --git a/offload/test/env/base_ptr_ref_count.c b/offload/test/env/base_ptr_ref_count.c
index 9a1556871280e..f4361fbd83474 100644
--- a/offload/test/env/base_ptr_ref_count.c
+++ b/offload/test/env/base_ptr_ref_count.c
@@ -1,5 +1,8 @@
+// clang-format off
// RUN: %libomptarget-compile-generic && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-generic 2>&1 | %fcheck-generic
// REQUIRES: libomptarget-debug
+// XFAIL: intelgpu
+// clang-format on
#include <stdio.h>
#include <stdlib.h>
diff --git a/offload/test/env/omp_target_debug.c b/offload/test/env/omp_target_debug.c
index ec81873a091f5..d63e71388fdfc 100644
--- a/offload/test/env/omp_target_debug.c
+++ b/offload/test/env/omp_target_debug.c
@@ -1,6 +1,9 @@
+// clang-format off
// RUN: %libomptarget-compile-generic && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-generic 2>&1 | %fcheck-generic -allow-empty -check-prefix=DEBUG
// RUN: %libomptarget-compile-generic && env LIBOMPTARGET_DEBUG=0 %libomptarget-run-generic 2>&1 | %fcheck-generic -allow-empty -check-prefix=NDEBUG
// REQUIRES: libomptarget-debug
+// XFAIL: intelgpu
+// clang-format on
int main(void) {
#pragma omp target
diff --git a/offload/test/jit/empty_kernel_lvl1.c b/offload/test/jit/empty_kernel_lvl1.c
index 812d5c1f46314..0bf1675e437b7 100644
--- a/offload/test/jit/empty_kernel_lvl1.c
+++ b/offload/test/jit/empty_kernel_lvl1.c
@@ -29,5 +29,6 @@
// clang-format on
// REQUIRES: gpu
+// XFAIL: intelgpu
#include "empty_kernel.inc"
diff --git a/offload/test/jit/empty_kernel_lvl2.c b/offload/test/jit/empty_kernel_lvl2.c
index 9e2ef17a42fbd..98859aa87fe86 100644
--- a/offload/test/jit/empty_kernel_lvl2.c
+++ b/offload/test/jit/empty_kernel_lvl2.c
@@ -24,5 +24,6 @@
// clang-format on
// REQUIRES: gpu
+// XFAIL: intelgpu
#include "empty_kernel.inc"
diff --git a/offload/test/jit/type_punning.c b/offload/test/jit/type_punning.c
index 574168b8a69cb..49e95feac2514 100644
--- a/offload/test/jit/type_punning.c
+++ b/offload/test/jit/type_punning.c
@@ -9,6 +9,7 @@
// clang-format on
// REQUIRES: gpu
+// XFAIL: intelgpu
// Ensure that there is only the kernel function left, not any outlined
// parallel regions.
diff --git a/offload/test/libc/malloc_parallel.c b/offload/test/libc/malloc_parallel.c
index 076a7ba397a3c..42f776826ba08 100644
--- a/offload/test/libc/malloc_parallel.c
+++ b/offload/test/libc/malloc_parallel.c
@@ -1,5 +1,6 @@
// RUN: %libomptarget-compile-run-and-check-generic
// RUN: %libomptarget-compileopt-run-and-check-generic
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/lit.cfg b/offload/test/lit.cfg
index 6f54cbe8064d2..ee2b585e11ef7 100644
--- a/offload/test/lit.cfg
+++ b/offload/test/lit.cfg
@@ -199,6 +199,9 @@ if config.libomptarget_current_target.startswith('nvptx'):
if config.libomptarget_current_target.startswith('amdgcn'):
config.available_features.add('gpu')
config.available_features.add('amdgpu')
+if config.libomptarget_current_target.startswith('spirv64-intel'):
+ config.available_features.add('gpu')
+ config.available_features.add('intelgpu')
if config.libomptarget_current_target in host_targets:
config.available_features.add('host')
@@ -213,6 +216,9 @@ def remove_suffix_if_present(name):
def add_libraries(source):
if "gpu" not in config.available_features:
return source
+ if "intelgpu" in config.available_features:
+ # There is no DeviceRTL for Intel yet and libc doesn't work.
+ return source
if config.libomptarget_has_libc:
return source + " -Xoffload-linker -lc " + \
"-Xoffload-linker -lm " + \
diff --git a/offload/test/mapping/array_section_implicit_capture.c b/offload/test/mapping/array_section_implicit_capture.c
index 1042bd23bd5ef..fae18112763e5 100644
--- a/offload/test/mapping/array_section_implicit_capture.c
+++ b/offload/test/mapping/array_section_implicit_capture.c
@@ -1,6 +1,7 @@
// RUN: %libomptarget-compile-generic
// RUN: %libomptarget-run-generic 2>&1 \
// RUN: | %fcheck-generic
+// XFAIL: intelgpu
#include <stdio.h>
#include <stdlib.h>
diff --git a/offload/test/mapping/chained_containing_structs_1.cc b/offload/test/mapping/chained_containing_structs_1.cc
index c9a09bb657be6..e98d7fe1f9758 100644
--- a/offload/test/mapping/chained_containing_structs_1.cc
+++ b/offload/test/mapping/chained_containing_structs_1.cc
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compilexx-run-and-check-generic
+// XFAIL: intelgpu
#include <cstdlib>
#include <cstdio>
diff --git a/offload/test/mapping/chained_containing_structs_2.cc b/offload/test/mapping/chained_containing_structs_2.cc
index 272b0ebaa7c92..ed959dd6c4958 100644
--- a/offload/test/mapping/chained_containing_structs_2.cc
+++ b/offload/test/mapping/chained_containing_structs_2.cc
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compilexx-run-and-check-generic
+// XFAIL: intelgpu
#include <cstdlib>
#include <cstdio>
diff --git a/offload/test/mapping/chained_containing_structs_3.cc b/offload/test/mapping/chained_containing_structs_3.cc
index 763c9760918ef..95692e67a83bf 100644
--- a/offload/test/mapping/chained_containing_structs_3.cc
+++ b/offload/test/mapping/chained_containing_structs_3.cc
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compilexx-run-and-check-generic
+// XFAIL: intelgpu
#include <cstdlib>
#include <cstdio>
diff --git a/offload/test/mapping/data_member_ref.cpp b/offload/test/mapping/data_member_ref.cpp
index 7947a62c169f4..2b5f978b60404 100644
--- a/offload/test/mapping/data_member_ref.cpp
+++ b/offload/test/mapping/data_member_ref.cpp
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compilexx-run-and-check-generic
+// XFAIL: intelgpu
#include <stdio.h>
diff --git a/offload/test/mapping/declare_mapper_nested_default_mappers.cpp b/offload/test/mapping/declare_mapper_nested_default_mappers.cpp
index 45fd042aedb0e..2d69f9573ad24 100644
--- a/offload/test/mapping/declare_mapper_nested_default_mappers.cpp
+++ b/offload/test/mapping/declare_mapper_nested_default_mappers.cpp
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compilexx-run-and-check-generic
+// XFAIL: intelgpu
#include <cstdio>
#include <cstdlib>
diff --git a/offload/test/mapping/declare_mapper_nested_default_mappers_1.cpp b/offload/test/mapping/declare_mapper_nested_default_mappers_1.cpp
index e300ae4524749..f822d08ba1e44 100644
--- a/offload/test/mapping/declare_mapper_nested_default_mappers_1.cpp
+++ b/offload/test/mapping/declare_mapper_nested_default_mappers_1.cpp
@@ -1,6 +1,7 @@
// RUN: %libomptarget-compilexx-run-and-check-generic
// UNSUPPORTED: amdgcn-amd-amdhsa
+// XFAIL: intelgpu
extern "C" int printf(const char *, ...);
diff --git a/offload/test/mapping/declare_mapper_nested_mappers.cpp b/offload/test/mapping/declare_mapper_nested_mappers.cpp
index a59ed6980ec4c..5d18739bf22ee 100644
--- a/offload/test/mapping/declare_mapper_nested_mappers.cpp
+++ b/offload/test/mapping/declare_mapper_nested_mappers.cpp
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compilexx-run-and-check-generic
+// XFAIL: intelgpu
#include <cstdio>
#include <cstdlib>
diff --git a/offload/test/mapping/declare_mapper_target.cpp b/offload/test/mapping/declare_mapper_target.cpp
index 4d7237e94657a..d1405c23892bf 100644
--- a/offload/test/mapping/declare_mapper_target.cpp
+++ b/offload/test/mapping/declare_mapper_target.cpp
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
#include <cstdio>
#include <cstdlib>
diff --git a/offload/test/mapping/declare_mapper_target_data.cpp b/offload/test/mapping/declare_mapper_target_data.cpp
index 7f09844014005..42a678a726832 100644
--- a/offload/test/mapping/declare_mapper_target_data.cpp
+++ b/offload/test/mapping/declare_mapper_target_data.cpp
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
#include <cstdio>
#include <cstdlib>
diff --git a/offload/test/mapping/declare_mapper_target_data_enter_exit.cpp b/offload/test/mapping/declare_mapper_target_data_enter_exit.cpp
index f5fad8b8fe332..00ee19220d6cc 100644
--- a/offload/test/mapping/declare_mapper_target_data_enter_exit.cpp
+++ b/offload/test/mapping/declare_mapper_target_data_enter_exit.cpp
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
#include <cstdio>
#include <cstdlib>
diff --git a/offload/test/mapping/declare_mapper_target_update.cpp b/offload/test/mapping/declare_mapper_target_update.cpp
index fe4597b76908f..d58a6e8abeae1 100644
--- a/offload/test/mapping/declare_mapper_target_update.cpp
+++ b/offload/test/mapping/declare_mapper_target_update.cpp
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
#include <cstdio>
#include <cstdlib>
diff --git a/offload/test/mapping/delete_inf_refcount.c b/offload/test/mapping/delete_inf_refcount.c
index f6016c19b0ffb..3379c51260214 100644
--- a/offload/test/mapping/delete_inf_refcount.c
+++ b/offload/test/mapping/delete_inf_refcount.c
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/mapping/device_ptr_update.c b/offload/test/mapping/device_ptr_update.c
index c6719d2285a2f..c7b9e50267c8b 100644
--- a/offload/test/mapping/device_ptr_update.c
+++ b/offload/test/mapping/device_ptr_update.c
@@ -2,6 +2,7 @@
// RUN: env LIBOMPTARGET_DEBUG=1 %libomptarget-run-generic 2>&1 \
// RUN: | %fcheck-generic -check-prefix=DEBUG -check-prefix=CHECK
// REQUIRES: libomptarget-debug
+// XFAIL: intelgpu
#include <stdio.h>
diff --git a/offload/test/mapping/duplicate_mappings_1.cpp b/offload/test/mapping/duplicate_mappings_1.cpp
index 5bed3f161b4fe..731bff9035d5a 100644
--- a/offload/test/mapping/duplicate_mappings_1.cpp
+++ b/offload/test/mapping/duplicate_mappings_1.cpp
@@ -1,5 +1,6 @@
// clang-format off
// RUN: %libomptarget-compilexx-generic -Wno-openmp-mapping && %libomptarget-run-generic
+// XFAIL: intelgpu
// clang-format on
diff --git a/offload/test/mapping/duplicate_mappings_2.cpp b/offload/test/mapping/duplicate_mappings_2.cpp
index ca8112ee72544..6ca7d3b55dfb5 100644
--- a/offload/test/mapping/duplicate_mappings_2.cpp
+++ b/offload/test/mapping/duplicate_mappings_2.cpp
@@ -1,5 +1,6 @@
// clang-format off
// RUN: %libomptarget-compilexx-generic -Wno-openmp-mapping && %libomptarget-run-generic
+// XFAIL: intelgpu
#include <assert.h>
diff --git a/offload/test/mapping/firstprivate_aligned.cpp b/offload/test/mapping/firstprivate_aligned.cpp
index ae6be0f0c07f4..bf09eb0b0f589 100644
--- a/offload/test/mapping/firstprivate_aligned.cpp
+++ b/offload/test/mapping/firstprivate_aligned.cpp
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compilexx-generic -O3 && %libomptarget-run-generic
+// XFAIL: intelgpu
#include <stdio.h>
diff --git a/offload/test/mapping/has_device_addr.cpp b/offload/test/mapping/has_device_addr.cpp
index 63fa313cf2780..e41cbdbd73a39 100644
--- a/offload/test/mapping/has_device_addr.cpp
+++ b/offload/test/mapping/has_device_addr.cpp
@@ -1,6 +1,7 @@
// RUN: %libomptarget-compilexx-generic -fopenmp-version=51
// RUN: %libomptarget-run-generic 2>&1 \
// RUN: | %fcheck-generic
+// XFAIL: intelgpu
#include <assert.h>
#include <iostream>
diff --git a/offload/test/mapping/implicit_device_ptr.c b/offload/test/mapping/implicit_device_ptr.c
index baa75d21686a7..6e32ece82a1c4 100644
--- a/offload/test/mapping/implicit_device_ptr.c
+++ b/offload/test/mapping/implicit_device_ptr.c
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/mapping/is_accessible.cpp b/offload/test/mapping/is_accessible.cpp
index 7fb23893408ea..39bc03dbde6c6 100644
--- a/offload/test/mapping/is_accessible.cpp
+++ b/offload/test/mapping/is_accessible.cpp
@@ -8,6 +8,7 @@
// REQUIRES: unified_shared_memory
// XFAIL: nvptx
+// XFAIL: intelgpu
// CHECK: SUCCESS
// NO_USM: Not accessible
diff --git a/offload/test/mapping/is_device_ptr.cpp b/offload/test/mapping/is_device_ptr.cpp
index 6433f822f9d53..40ee0d3aba24b 100644
--- a/offload/test/mapping/is_device_ptr.cpp
+++ b/offload/test/mapping/is_device_ptr.cpp
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compilexx-run-and-check-generic
+// XFAIL: intelgpu
#include <assert.h>
#include <iostream>
diff --git a/offload/test/mapping/lambda_by_value.cpp b/offload/test/mapping/lambda_by_value.cpp
index 4c0278d405925..b4e3f16c295a5 100644
--- a/offload/test/mapping/lambda_by_value.cpp
+++ b/offload/test/mapping/lambda_by_value.cpp
@@ -1,5 +1,6 @@
// RUN: %libomptarget-compileopt-generic -fno-exceptions
// RUN: %libomptarget-run-generic 2>&1 | %fcheck-generic
+// XFAIL: intelgpu
#include <stdint.h>
#include <stdio.h>
diff --git a/offload/test/mapping/low_alignment.c b/offload/test/mapping/low_alignment.c
index 615a5a9c31112..71e90b3695a35 100644
--- a/offload/test/mapping/low_alignment.c
+++ b/offload/test/mapping/low_alignment.c
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compilexx-run-and-check-generic
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/mapping/map_both_pointer_pointee.c b/offload/test/mapping/map_both_pointer_pointee.c
index 1934b702dbbac..9ba0e0e5e6401 100644
--- a/offload/test/mapping/map_both_pointer_pointee.c
+++ b/offload/test/mapping/map_both_pointer_pointee.c
@@ -5,6 +5,7 @@
//
// FIXME: https://github.com/llvm/llvm-project/issues/161265
// XFAIL: nvidiagpu
+// XFAIL: intelgpu
#pragma omp declare target
int *ptr1;
diff --git a/offload/test/mapping/map_ptr_and_star_local.c b/offload/test/mapping/map_ptr_and_star_local.c
index f8962d1beffc4..1b939fd227fe4 100644
--- a/offload/test/mapping/map_ptr_and_star_local.c
+++ b/offload/test/mapping/map_ptr_and_star_local.c
@@ -4,6 +4,7 @@
//
// FIXME: https://github.com/llvm/llvm-project/issues/161265
// XFAIL: gpu
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/mapping/map_structptr_and_member_global.c b/offload/test/mapping/map_structptr_and_member_global.c
index 7336b7c85ca1d..5576e1df89d94 100644
--- a/offload/test/mapping/map_structptr_and_member_global.c
+++ b/offload/test/mapping/map_structptr_and_member_global.c
@@ -4,6 +4,7 @@
//
// FIXME: https://github.com/llvm/llvm-project/issues/161265
// XFAIL: gpu
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/mapping/map_structptr_and_member_local.c b/offload/test/mapping/map_structptr_and_member_local.c
index 5936a7c73d48f..0770ae24b62d2 100644
--- a/offload/test/mapping/map_structptr_and_member_local.c
+++ b/offload/test/mapping/map_structptr_and_member_local.c
@@ -4,6 +4,7 @@
//
// FIXME: https://github.com/llvm/llvm-project/issues/161265
// XFAIL: gpu
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/mapping/ompx_hold/struct.c b/offload/test/mapping/ompx_hold/struct.c
index da2b38028762c..0b898d5d3b567 100644
--- a/offload/test/mapping/ompx_hold/struct.c
+++ b/offload/test/mapping/ompx_hold/struct.c
@@ -1,5 +1,6 @@
// RUN: %libomptarget-compile-generic -fopenmp-extensions
// RUN: %libomptarget-run-generic | %fcheck-generic -strict-whitespace
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/mapping/ompx_hold/target.c b/offload/test/mapping/ompx_hold/target.c
index 40fd14c6bf005..e6ba4961fd905 100644
--- a/offload/test/mapping/ompx_hold/target.c
+++ b/offload/test/mapping/ompx_hold/target.c
@@ -1,5 +1,6 @@
// RUN: %libomptarget-compile-generic -fopenmp-extensions
// RUN: %libomptarget-run-generic | %fcheck-generic -strict-whitespace
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/mapping/pr38704.c b/offload/test/mapping/pr38704.c
index 72b4a171ccea4..612c2683b37ce 100644
--- a/offload/test/mapping/pr38704.c
+++ b/offload/test/mapping/pr38704.c
@@ -3,6 +3,7 @@
// Clang 6.0 doesn't use the new map interface, undefined behavior when
// the compiler emits "old" interface code for structures.
// UNSUPPORTED: clang-6
+// XFAIL: intelgpu
#include <stdio.h>
#include <stdlib.h>
diff --git a/offload/test/mapping/prelock.cpp b/offload/test/mapping/prelock.cpp
index 330daf775c3bd..08de83e8407e8 100644
--- a/offload/test/mapping/prelock.cpp
+++ b/offload/test/mapping/prelock.cpp
@@ -4,6 +4,7 @@
// REQUIRES: gpu
// UNSUPPORTED: nvidiagpu
// UNSUPPORTED: amdgpu
+// XFAIL: intelgpu
#include <cstdio>
diff --git a/offload/test/mapping/present/target.c b/offload/test/mapping/present/target.c
index 4344c42c808ff..16cca929b7a6d 100644
--- a/offload/test/mapping/present/target.c
+++ b/offload/test/mapping/present/target.c
@@ -1,6 +1,7 @@
// RUN: %libomptarget-compile-generic
// RUN: %libomptarget-run-fail-generic 2>&1 \
// RUN: | %fcheck-generic
+// XFAIL: intelgpu
#include <stdio.h>
diff --git a/offload/test/mapping/present/target_array_extension.c b/offload/test/mapping/present/target_array_extension.c
index 873b2b36170ee..ef64930b27d5c 100644
--- a/offload/test/mapping/present/target_array_extension.c
+++ b/offload/test/mapping/present/target_array_extension.c
@@ -15,6 +15,7 @@
// RUN: -DEXTENDS=AFTER
// RUN: %libomptarget-run-fail-generic 2>&1 \
// RUN: | %fcheck-generic
+// XFAIL: intelgpu
// END.
diff --git a/offload/test/mapping/present/unified_shared_memory.c b/offload/test/mapping/present/unified_shared_memory.c
index ab6e3bd0e5fa7..31d909852c008 100644
--- a/offload/test/mapping/present/unified_shared_memory.c
+++ b/offload/test/mapping/present/unified_shared_memory.c
@@ -3,6 +3,7 @@
// RUN: | %fcheck-generic
// REQUIRES: unified_shared_memory
+// XFAIL: intelgpu
#include <stdio.h>
diff --git a/offload/test/mapping/present/zero_length_array_section.c b/offload/test/mapping/present/zero_length_array_section.c
index e903a268ef335..a614043b6207e 100644
--- a/offload/test/mapping/present/zero_length_array_section.c
+++ b/offload/test/mapping/present/zero_length_array_section.c
@@ -1,6 +1,7 @@
// RUN: %libomptarget-compile-generic
// RUN: %libomptarget-run-fail-generic 2>&1 \
// RUN: | %fcheck-generic
+// XFAIL: intelgpu
#include <stdio.h>
diff --git a/offload/test/mapping/private_mapping.c b/offload/test/mapping/private_mapping.c
index 1329a66a5da3a..84bd5f1dbcf02 100644
--- a/offload/test/mapping/private_mapping.c
+++ b/offload/test/mapping/private_mapping.c
@@ -1,5 +1,6 @@
// RUN: %libomptarget-compile-run-and-check-generic
// UNSUPPORTED: amdgcn-amd-amdhsa
+// XFAIL: intelgpu
#include <assert.h>
#include <stdio.h>
diff --git a/offload/test/mapping/ptr_and_obj_motion.c b/offload/test/mapping/ptr_and_obj_motion.c
index a94c07aadc1bc..6a5f16eb8f301 100644
--- a/offload/test/mapping/ptr_and_obj_motion.c
+++ b/offload/test/mapping/ptr_and_obj_motion.c
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
#include <stdio.h>
diff --git a/offload/test/mapping/reduction_implicit_map.cpp b/offload/test/mapping/reduction_implicit_map.cpp
index 329aa43ddf3c0..d621be142259d 100644
--- a/offload/test/mapping/reduction_implicit_map.cpp
+++ b/offload/test/mapping/reduction_implicit_map.cpp
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compilexx-run-and-check-generic
+// XFAIL: intelgpu
#include <stdio.h>
diff --git a/offload/test/mapping/target_data_array_extension_at_exit.c b/offload/test/mapping/target_data_array_extension_at_exit.c
index e300c800b2551..cfb09a98e06f1 100644
--- a/offload/test/mapping/target_data_array_extension_at_exit.c
+++ b/offload/test/mapping/target_data_array_extension_at_exit.c
@@ -15,6 +15,7 @@
// RUN: -DEXTENDS=AFTER
// RUN: %libomptarget-run-generic 2>&1 \
// RUN: | %fcheck-generic
+// XFAIL: intelgpu
// END.
diff --git a/offload/test/mapping/target_derefence_array_pointrs.cpp b/offload/test/mapping/target_derefence_array_pointrs.cpp
index d213c87443634..ed3c1ed17b243 100644
--- a/offload/test/mapping/target_derefence_array_pointrs.cpp
+++ b/offload/test/mapping/target_derefence_array_pointrs.cpp
@@ -6,6 +6,7 @@
// UNSUPPORTED: amdgcn-amd-amdhsa
// UNSUPPORTED: nvptx64-nvidia-cuda
// UNSUPPORTED: nvptx64-nvidia-cuda-LTO
+// XFAIL: intelgpu
#include <stdio.h>
#include <stdlib.h>
diff --git a/offload/test/mapping/target_has_device_addr.c b/offload/test/mapping/target_has_device_addr.c
index f238832c44054..5bff5168d4471 100644
--- a/offload/test/mapping/target_has_device_addr.c
+++ b/offload/test/mapping/target_has_device_addr.c
@@ -3,6 +3,7 @@
// RUN: | %fcheck-generic
// UNSUPPORTED: amdgcn-amd-amdhsa
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/mapping/target_implicit_partial_map.c b/offload/test/mapping/target_implicit_partial_map.c
index a8b2cc893df20..e2e120d4089be 100644
--- a/offload/test/mapping/target_implicit_partial_map.c
+++ b/offload/test/mapping/target_implicit_partial_map.c
@@ -1,6 +1,7 @@
// RUN: %libomptarget-compile-generic
// RUN: %libomptarget-run-generic 2>&1 \
// RUN: | %fcheck-generic
+// XFAIL: intelgpu
// END.
diff --git a/offload/test/mapping/target_map_for_member_data.cpp b/offload/test/mapping/target_map_for_member_data.cpp
index fafff6b18a2bc..9f2adc29d6671 100644
--- a/offload/test/mapping/target_map_for_member_data.cpp
+++ b/offload/test/mapping/target_map_for_member_data.cpp
@@ -1,6 +1,7 @@
// RUN: %libomptarget-compile-generic -fopenmp-version=51
// RUN: %libomptarget-run-generic 2>&1 \
// RUN: | %fcheck-generic
+// XFAIL: intelgpu
extern "C" int printf(const char *, ...);
template <typename T> class A {
diff --git a/offload/test/mapping/target_uses_allocator.c b/offload/test/mapping/target_uses_allocator.c
index c0d71b22733b3..0e81f5606f577 100755
--- a/offload/test/mapping/target_uses_allocator.c
+++ b/offload/test/mapping/target_uses_allocator.c
@@ -4,6 +4,7 @@
// UNSUPPORTED: amdgcn-amd-amdhsa
// UNSUPPORTED: nvptx64-nvidia-cuda
// UNSUPPORTED: nvptx64-nvidia-cuda-LTO
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/mapping/use_device_addr/target_use_device_addr.c b/offload/test/mapping/use_device_addr/target_use_device_addr.c
index 4a9dbe252f761..00a323f0499db 100644
--- a/offload/test/mapping/use_device_addr/target_use_device_addr.c
+++ b/offload/test/mapping/use_device_addr/target_use_device_addr.c
@@ -1,6 +1,7 @@
// RUN: %libomptarget-compile-generic -fopenmp-version=51
// RUN: %libomptarget-run-generic 2>&1 \
// RUN: | %fcheck-generic
+// XFAIL: intelgpu
#include <stdio.h>
int main() {
diff --git a/offload/test/offloading/CUDA/basic_launch.cu b/offload/test/offloading/CUDA/basic_launch.cu
index 0846031a3f1ae..efd7119c327e0 100644
--- a/offload/test/offloading/CUDA/basic_launch.cu
+++ b/offload/test/offloading/CUDA/basic_launch.cu
@@ -9,6 +9,7 @@
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
// UNSUPPORTED: x86_64-unknown-linux-gnu
// UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
+// XFAIL: intelgpu
#include <stdio.h>
diff --git a/offload/test/offloading/CUDA/basic_launch_blocks_and_threads.cu b/offload/test/offloading/CUDA/basic_launch_blocks_and_threads.cu
index 541cb58ce71df..f7bc8c180072c 100644
--- a/offload/test/offloading/CUDA/basic_launch_blocks_and_threads.cu
+++ b/offload/test/offloading/CUDA/basic_launch_blocks_and_threads.cu
@@ -9,6 +9,7 @@
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
// UNSUPPORTED: x86_64-unknown-linux-gnu
// UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
+// XFAIL: intelgpu
#include <stdio.h>
diff --git a/offload/test/offloading/CUDA/basic_launch_multi_arg.cu b/offload/test/offloading/CUDA/basic_launch_multi_arg.cu
index 4e0f3a41a7a0c..9e93a1e78c349 100644
--- a/offload/test/offloading/CUDA/basic_launch_multi_arg.cu
+++ b/offload/test/offloading/CUDA/basic_launch_multi_arg.cu
@@ -6,6 +6,7 @@
// clang-format on
// REQUIRES: gpu
+// XFAIL: intelgpu
#include <stdio.h>
diff --git a/offload/test/offloading/CUDA/launch_tu.cu b/offload/test/offloading/CUDA/launch_tu.cu
index 17be0a1045f79..69050775d887e 100644
--- a/offload/test/offloading/CUDA/launch_tu.cu
+++ b/offload/test/offloading/CUDA/launch_tu.cu
@@ -9,6 +9,7 @@
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
// UNSUPPORTED: x86_64-unknown-linux-gnu
// UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
+// XFAIL: intelgpu
#include <stdio.h>
diff --git a/offload/test/offloading/assert.cpp b/offload/test/offloading/assert.cpp
index 07716f457e086..6ae33d1e6e6cf 100644
--- a/offload/test/offloading/assert.cpp
+++ b/offload/test/offloading/assert.cpp
@@ -1,5 +1,6 @@
// RUN: %libomptarget-compilexx-generic && %libomptarget-run-fail-generic
// RUN: %libomptarget-compileoptxx-generic && %libomptarget-run-fail-generic
+// XFAIL: intelgpu
int main(int argc, char *argv[]) {
#pragma omp target
diff --git a/offload/test/offloading/atomic-compare-signedness.c b/offload/test/offloading/atomic-compare-signedness.c
index d774b85959723..e1c8a2f846a8f 100644
--- a/offload/test/offloading/atomic-compare-signedness.c
+++ b/offload/test/offloading/atomic-compare-signedness.c
@@ -7,6 +7,7 @@
// RUN: %libomptarget-run-generic | %fcheck-generic
// RUN: %libomptarget-compileopt-generic -fopenmp-version=51
// RUN: %libomptarget-run-generic | %fcheck-generic
+// XFAIL: intelgpu
// High parallelism increases our chances of detecting a lack of atomicity.
#define NUM_THREADS_TRY 256
diff --git a/offload/test/offloading/back2back_distribute.c b/offload/test/offloading/back2back_distribute.c
index 63cabd0c66788..4bd3d52a8c2fb 100644
--- a/offload/test/offloading/back2back_distribute.c
+++ b/offload/test/offloading/back2back_distribute.c
@@ -1,5 +1,7 @@
+// clang-format off
// RUN: %libomptarget-compile-generic -O3 && %libomptarget-run-generic | %fcheck-generic
-
+// XFAIL: intelgpu
+// clang-format on
#include <omp.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/offload/test/offloading/bug47654.cpp b/offload/test/offloading/bug47654.cpp
index eba7904e76ca8..3203e9f6da489 100644
--- a/offload/test/offloading/bug47654.cpp
+++ b/offload/test/offloading/bug47654.cpp
@@ -1,5 +1,6 @@
// RUN: %libomptarget-compilexx-run-and-check-generic
// RUN: %libomptarget-compileoptxx-run-and-check-generic
+// XFAIL: intelgpu
#include <cassert>
#include <iostream>
diff --git a/offload/test/offloading/bug49021.cpp b/offload/test/offloading/bug49021.cpp
index 37da8ce5d861b..1bd35c66f5db2 100644
--- a/offload/test/offloading/bug49021.cpp
+++ b/offload/test/offloading/bug49021.cpp
@@ -1,7 +1,10 @@
+// clang-format off
// RUN: %libomptarget-compilexx-generic -O3 && %libomptarget-run-generic
// RUN: %libomptarget-compilexx-generic -O3 -ffast-math && %libomptarget-run-generic
// RUN: %libomptarget-compileoptxx-generic -O3 && %libomptarget-run-generic
// RUN: %libomptarget-compileoptxx-generic -O3 -ffast-math && %libomptarget-run-generic
+// XFAIL: intelgpu
+// clang-format on
#include <iostream>
diff --git a/offload/test/offloading/bug49334.cpp b/offload/test/offloading/bug49334.cpp
index 4ca01d4bbd971..47b79d408b93b 100644
--- a/offload/test/offloading/bug49334.cpp
+++ b/offload/test/offloading/bug49334.cpp
@@ -8,6 +8,7 @@
// REQUIRES: gpu
// UNSUPPORTED: nvidiagpu
// UNSUPPORTED: amdgpu
+// XFAIL: intelgpu
#include <cassert>
#include <cmath>
diff --git a/offload/test/offloading/bug49779.cpp b/offload/test/offloading/bug49779.cpp
index d036f95b3c353..7503825ddf656 100644
--- a/offload/test/offloading/bug49779.cpp
+++ b/offload/test/offloading/bug49779.cpp
@@ -5,6 +5,7 @@
// We need malloc/global_alloc support
// UNSUPPORTED: amdgcn-amd-amdhsa
+// XFAIL: intelgpu
#include <cassert>
#include <iostream>
diff --git a/offload/test/offloading/bug50022.cpp b/offload/test/offloading/bug50022.cpp
index d2ae02b7054b9..1bd48be9f9d88 100644
--- a/offload/test/offloading/bug50022.cpp
+++ b/offload/test/offloading/bug50022.cpp
@@ -1,5 +1,6 @@
// RUN: %libomptarget-compilexx-and-run-generic
// RUN: %libomptarget-compileoptxx-and-run-generic
+// XFAIL: intelgpu
#include <cassert>
#include <iostream>
diff --git a/offload/test/offloading/bug51781.c b/offload/test/offloading/bug51781.c
index 9ff0fddad3de2..3c7f2ce090224 100644
--- a/offload/test/offloading/bug51781.c
+++ b/offload/test/offloading/bug51781.c
@@ -33,6 +33,7 @@
// RUN: %fcheck-nvptx64-nvidia-cuda -check-prefix=CUSTOM -input-file=%t.custom
// RUN: %fcheck-amdgcn-amd-amdhsa -check-prefix=CUSTOM -input-file=%t.custom
// RUN: %libomptarget-run-generic 2>&1 | %fcheck-generic
+// XFAIL: intelgpu
//
// CUSTOM: Rewriting generic-mode kernel with a customized state machine.
diff --git a/offload/test/offloading/bug51982.c b/offload/test/offloading/bug51982.c
index b19707aacde98..a6910b1fbb3f8 100644
--- a/offload/test/offloading/bug51982.c
+++ b/offload/test/offloading/bug51982.c
@@ -1,6 +1,7 @@
// RUN: %libomptarget-compile-generic -O2 && %libomptarget-run-generic
// -O2 to run openmp-opt
// RUN: %libomptarget-compileopt-generic -O2 && %libomptarget-run-generic
+// XFAIL: intelgpu
int main(void) {
long int aa = 0;
diff --git a/offload/test/offloading/bug53727.cpp b/offload/test/offloading/bug53727.cpp
index 8ce8b7e9b87c4..a1a01f0078508 100644
--- a/offload/test/offloading/bug53727.cpp
+++ b/offload/test/offloading/bug53727.cpp
@@ -1,5 +1,6 @@
// RUN: %libomptarget-compilexx-and-run-generic
// RUN: %libomptarget-compileoptxx-and-run-generic
+// XFAIL: intelgpu
#include <cassert>
#include <iostream>
diff --git a/offload/test/offloading/bug64959.c b/offload/test/offloading/bug64959.c
index eddc55325ffe9..a31b8449d34fc 100644
--- a/offload/test/offloading/bug64959.c
+++ b/offload/test/offloading/bug64959.c
@@ -6,6 +6,7 @@
// UNSUPPORTED: amdgcn-amd-amdhsa
// UNSUPPORTED: nvptx64-nvidia-cuda
// UNSUPPORTED: nvptx64-nvidia-cuda-LTO
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/offloading/bug64959_compile_only.c b/offload/test/offloading/bug64959_compile_only.c
index 310942f25c007..ecb64d0128b61 100644
--- a/offload/test/offloading/bug64959_compile_only.c
+++ b/offload/test/offloading/bug64959_compile_only.c
@@ -1,5 +1,6 @@
// RUN: %libomptarget-compile-generic
// RUN: %libomptarget-compileopt-generic
+// XFAIL: intelgpu
#include <stdio.h>
#define N 10
diff --git a/offload/test/offloading/bug74582.c b/offload/test/offloading/bug74582.c
index c6a283bb93691..6297181a4aa59 100644
--- a/offload/test/offloading/bug74582.c
+++ b/offload/test/offloading/bug74582.c
@@ -1,5 +1,6 @@
// RUN: %libomptarget-compile-generic && %libomptarget-run-generic
// RUN: %libomptarget-compileopt-generic && %libomptarget-run-generic
+// XFAIL: intelgpu
// Verify we do not read bits in the image that are not there (nobits section).
diff --git a/offload/test/offloading/complex_reduction.cpp b/offload/test/offloading/complex_reduction.cpp
index 3239f48743ccd..c4508d052efa4 100644
--- a/offload/test/offloading/complex_reduction.cpp
+++ b/offload/test/offloading/complex_reduction.cpp
@@ -1,5 +1,8 @@
+// clang-format off
// RUN: %libomptarget-compilexx-generic -O3 && %libomptarget-run-generic
// RUN: %libomptarget-compilexx-generic -O3 -ffast-math && %libomptarget-run-generic
+// XFAIL: intelgpu
+// clang-format on
#include <complex>
#include <iostream>
diff --git a/offload/test/offloading/ctor_dtor.cpp b/offload/test/offloading/ctor_dtor.cpp
index 7f08798dea103..d8ec93c7ae479 100644
--- a/offload/test/offloading/ctor_dtor.cpp
+++ b/offload/test/offloading/ctor_dtor.cpp
@@ -1,5 +1,6 @@
// RUN: %libomptarget-compilexx-run-and-check-generic
// RUN: %libomptarget-compileoptxx-run-and-check-generic
+// XFAIL: intelgpu
#include <cstdio>
struct S {
diff --git a/offload/test/offloading/ctor_dtor_api.cpp b/offload/test/offloading/ctor_dtor_api.cpp
index da8f0c8051745..55b828661952c 100644
--- a/offload/test/offloading/ctor_dtor_api.cpp
+++ b/offload/test/offloading/ctor_dtor_api.cpp
@@ -1,5 +1,6 @@
// RUN: %libomptarget-compilexx-run-and-check-generic
// RUN: %libomptarget-compileoptxx-run-and-check-generic
+// UNSUPPORTED: intelgpu
#include <cstdio>
#include <omp.h>
diff --git a/offload/test/offloading/ctor_dtor_lazy.cpp b/offload/test/offloading/ctor_dtor_lazy.cpp
index 6ca232c288b5d..d09bd517387de 100644
--- a/offload/test/offloading/ctor_dtor_lazy.cpp
+++ b/offload/test/offloading/ctor_dtor_lazy.cpp
@@ -4,6 +4,7 @@
// RUN: %not --crash %libomptarget-run-generic
// RUN: %libomptarget-compilexx-generic -DCTOR_API
// RUN: %not --crash %libomptarget-run-generic
+// XFAIL: intelgpu
#include <cstdio>
#include <omp.h>
diff --git a/offload/test/offloading/cuda_no_devices.c b/offload/test/offloading/cuda_no_devices.c
index bbcbf6b9f07e2..eb429ef8927c0 100644
--- a/offload/test/offloading/cuda_no_devices.c
+++ b/offload/test/offloading/cuda_no_devices.c
@@ -5,6 +5,7 @@
// RUN: %libomptarget-compile-generic
// RUN: env CUDA_VISIBLE_DEVICES= \
// RUN: %libomptarget-run-generic 2>&1 | %fcheck-generic
+// XFAIL: intelgpu
#include <stdio.h>
diff --git a/offload/test/offloading/d2d_memcpy.c b/offload/test/offloading/d2d_memcpy.c
index f26d0c7c58006..00a3e72ac2961 100644
--- a/offload/test/offloading/d2d_memcpy.c
+++ b/offload/test/offloading/d2d_memcpy.c
@@ -4,6 +4,7 @@
// RUN: %libomptarget-compileopt-generic && \
// RUN: env OMP_MAX_ACTIVE_LEVELS=2 %libomptarget-run-generic | \
// RUN: %fcheck-generic -allow-empty
+// XFAIL: intelgpu
#include <assert.h>
#include <omp.h>
diff --git a/offload/test/offloading/default_thread_limit.c b/offload/test/offloading/default_thread_limit.c
index ad8d08fdef299..76e66c2a45713 100644
--- a/offload/test/offloading/default_thread_limit.c
+++ b/offload/test/offloading/default_thread_limit.c
@@ -7,6 +7,7 @@
// RUN: %libomptarget-run-generic 2>&1 | %fcheck-generic --check-prefix=DEFAULT
// REQUIRES: amdgpu
+// XFAIL: intelgpu
__attribute__((optnone)) int optnone() { return 1; }
diff --git a/offload/test/offloading/dynamic_module.c b/offload/test/offloading/dynamic_module.c
index 00ae8100db7e4..ba67ed3c6846a 100644
--- a/offload/test/offloading/dynamic_module.c
+++ b/offload/test/offloading/dynamic_module.c
@@ -1,9 +1,12 @@
+// clang-format off
// RUN: %libomptarget-compile-generic -DSHARED -fPIC -shared -o %t.so && \
// RUN: %libomptarget-compile-generic %t.so && %libomptarget-run-generic 2>&1 | %fcheck-generic
// RUN: %libomptarget-compileopt-generic -DSHARED -fPIC -shared -o %t.so && \
// RUN: %libomptarget-compileopt-generic %t.so && %libomptarget-run-generic 2>&1 | %fcheck-generic
//
// REQUIRES: gpu
+// XFAIL: intelgpu
+// clang-format on
#ifdef SHARED
void foo() {}
diff --git a/offload/test/offloading/dynamic_module_load.c b/offload/test/offloading/dynamic_module_load.c
index 5393f33e84f85..45352e667dec1 100644
--- a/offload/test/offloading/dynamic_module_load.c
+++ b/offload/test/offloading/dynamic_module_load.c
@@ -1,5 +1,7 @@
+// clang-format off
// RUN: %libomptarget-compile-generic -DSHARED -fPIC -shared -o %t.so && %clang %flags %s -o %t -ldl && %libomptarget-run-generic %t.so 2>&1 | %fcheck-generic
-
+// XFAIL: intelgpu
+// clang-format on
#ifdef SHARED
#include <stdio.h>
int foo() {
diff --git a/offload/test/offloading/extern.c b/offload/test/offloading/extern.c
index 35cf905ee0cd4..f594e377d8f24 100644
--- a/offload/test/offloading/extern.c
+++ b/offload/test/offloading/extern.c
@@ -1,6 +1,8 @@
+// clang-format off
// RUN: %libomptarget-compile-generic -DVAR -c -o %t.o
// RUN: %libomptarget-compile-generic %t.o && %libomptarget-run-generic | %fcheck-generic
-
+// XFAIL: intelgpu
+// clang-format on
#ifdef VAR
int x = 1;
#else
diff --git a/offload/test/offloading/force-usm.cpp b/offload/test/offloading/force-usm.cpp
index 9988c3dc4e9e0..9afe57d797356 100644
--- a/offload/test/offloading/force-usm.cpp
+++ b/offload/test/offloading/force-usm.cpp
@@ -10,6 +10,7 @@
//
// UNSUPPORTED: nvptx64-nvidia-cuda
// UNSUPPORTED: nvptx64-nvidia-cuda-LTO
+// XFAIL: intelgpu
// clang-format on
#include <cassert>
diff --git a/offload/test/offloading/fortran/basic-target-parallel-do.f90 b/offload/test/offloading/fortran/basic-target-parallel-do.f90
index 5ea505fca4d69..f97d4085ac395 100644
--- a/offload/test/offloading/fortran/basic-target-parallel-do.f90
+++ b/offload/test/offloading/fortran/basic-target-parallel-do.f90
@@ -3,6 +3,7 @@
! RUN: %libomptarget-compile-fortran-generic
! RUN: env LIBOMPTARGET_INFO=16 %libomptarget-run-generic 2>&1 | %fcheck-generic
+! XFAIL: intelgpu
program main
use omp_lib
integer :: x(100)
diff --git a/offload/test/offloading/fortran/basic-target-parallel-region.f90 b/offload/test/offloading/fortran/basic-target-parallel-region.f90
index 6c5bf1c63bacb..add23f7c6b666 100644
--- a/offload/test/offloading/fortran/basic-target-parallel-region.f90
+++ b/offload/test/offloading/fortran/basic-target-parallel-region.f90
@@ -2,6 +2,7 @@
! REQUIRES: flang, amdgpu
! RUN: %libomptarget-compile-fortran-run-and-check-generic
+! XFAIL: intelgpu
program main
use omp_lib
integer :: x
diff --git a/offload/test/offloading/fortran/basic-target-region-3D-array.f90 b/offload/test/offloading/fortran/basic-target-region-3D-array.f90
index 61fced35980f4..5d8ddc507204d 100644
--- a/offload/test/offloading/fortran/basic-target-region-3D-array.f90
+++ b/offload/test/offloading/fortran/basic-target-region-3D-array.f90
@@ -5,6 +5,7 @@
! UNSUPPORTED: nvptx64-nvidia-cuda-LTO
! RUN: %libomptarget-compile-fortran-run-and-check-generic
+! XFAIL: intelgpu
program main
integer :: x(2,2,2)
integer :: i, j, k
diff --git a/offload/test/offloading/fortran/double-target-call-with-declare-target.f90 b/offload/test/offloading/fortran/double-target-call-with-declare-target.f90
index f7fef9583214b..ab2fb5e6e7d9a 100644
--- a/offload/test/offloading/fortran/double-target-call-with-declare-target.f90
+++ b/offload/test/offloading/fortran/double-target-call-with-declare-target.f90
@@ -4,6 +4,7 @@
! REQUIRES: flang, amdgpu
! RUN: %libomptarget-compile-fortran-run-and-check-generic
+! XFAIL: intelgpu
module test_0
implicit none
integer :: sp(10) = (/0,0,0,0,0,0,0,0,0,0/)
diff --git a/offload/test/offloading/fortran/dump_map_tables.f90 b/offload/test/offloading/fortran/dump_map_tables.f90
index 424dec2066562..8087407f20d0a 100644
--- a/offload/test/offloading/fortran/dump_map_tables.f90
+++ b/offload/test/offloading/fortran/dump_map_tables.f90
@@ -9,6 +9,7 @@
! UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
! RUN: %libomptarget-compile-fortran-run-and-check-generic
+! XFAIL: intelgpu
program map_dump_example
INTERFACE
diff --git a/offload/test/offloading/fortran/target-map-derived-type-full-1.f90 b/offload/test/offloading/fortran/target-map-derived-type-full-1.f90
index 09a847f2cef8c..36246962834cf 100644
--- a/offload/test/offloading/fortran/target-map-derived-type-full-1.f90
+++ b/offload/test/offloading/fortran/target-map-derived-type-full-1.f90
@@ -3,6 +3,7 @@
! REQUIRES: flang, amdgpu
! RUN: %libomptarget-compile-fortran-run-and-check-generic
+! XFAIL: intelgpu
program main
type :: scalar
integer(4) :: ix = 0
diff --git a/offload/test/offloading/fortran/target-map-derived-type-full-2.f90 b/offload/test/offloading/fortran/target-map-derived-type-full-2.f90
index f4f63f233cc04..b6d18ab8f909d 100644
--- a/offload/test/offloading/fortran/target-map-derived-type-full-2.f90
+++ b/offload/test/offloading/fortran/target-map-derived-type-full-2.f90
@@ -3,6 +3,7 @@
! REQUIRES: flang, amdgpu
! RUN: %libomptarget-compile-fortran-run-and-check-generic
+! XFAIL: intelgpu
program main
type :: scalar
integer(4) :: ix = 0
diff --git a/offload/test/offloading/fortran/target-map-dtype-explicit-individual-array-member.f90 b/offload/test/offloading/fortran/target-map-dtype-explicit-individual-array-member.f90
index c4496a3e411a6..7687100b45f6c 100644
--- a/offload/test/offloading/fortran/target-map-dtype-explicit-individual-array-member.f90
+++ b/offload/test/offloading/fortran/target-map-dtype-explicit-individual-array-member.f90
@@ -3,6 +3,7 @@
! REQUIRES: flang, amdgpu
! RUN: %libomptarget-compile-fortran-run-and-check-generic
+! XFAIL: intelgpu
program main
type :: scalar_array
real(4) :: break_0
diff --git a/offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-3D-member-bounds.f90 b/offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-3D-member-bounds.f90
index 145818fd4111a..8efa24dc5920b 100644
--- a/offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-3D-member-bounds.f90
+++ b/offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-3D-member-bounds.f90
@@ -3,6 +3,7 @@
! REQUIRES: flang, amdgpu
! RUN: %libomptarget-compile-fortran-run-and-check-generic
+! XFAIL: intelgpu
program main
type :: scalar_array
real(4) :: break_0
diff --git a/offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-member-bounds.f90 b/offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-member-bounds.f90
index 1a4742461f8c2..40200b063b06e 100644
--- a/offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-member-bounds.f90
+++ b/offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-member-bounds.f90
@@ -3,6 +3,7 @@
! REQUIRES: flang, amdgpu
! RUN: %libomptarget-compile-fortran-run-and-check-generic
+! XFAIL: intelgpu
program main
type :: scalar_array
real(4) :: break_0
diff --git a/offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-member.f90 b/offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-member.f90
index d05b2dafebb1b..1e736a3f7b601 100644
--- a/offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-member.f90
+++ b/offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-member.f90
@@ -3,6 +3,7 @@
! REQUIRES: flang, amdgpu
! RUN: %libomptarget-compile-fortran-run-and-check-generic
+! XFAIL: intelgpu
program main
type :: scalar_array
real(4) :: break_0
diff --git a/offload/test/offloading/fortran/target-map-dtype-multi-explicit-member.f90 b/offload/test/offloading/fortran/target-map-dtype-multi-explicit-member.f90
index 1bda6d67f2b27..c4618b7d09055 100644
--- a/offload/test/offloading/fortran/target-map-dtype-multi-explicit-member.f90
+++ b/offload/test/offloading/fortran/target-map-dtype-multi-explicit-member.f90
@@ -3,6 +3,7 @@
! REQUIRES: flang, amdgpu
! RUN: %libomptarget-compile-fortran-run-and-check-generic
+! XFAIL: intelgpu
program main
type :: scalar
integer(4) :: ix = 0
diff --git a/offload/test/offloading/fortran/target-map-enter-exit-array.f90 b/offload/test/offloading/fortran/target-map-enter-exit-array.f90
index 51de70f092ef6..60d73ab96f9df 100644
--- a/offload/test/offloading/fortran/target-map-enter-exit-array.f90
+++ b/offload/test/offloading/fortran/target-map-enter-exit-array.f90
@@ -3,6 +3,7 @@
! REQUIRES: flang, amdgpu
! RUN: %libomptarget-compile-fortran-run-and-check-generic
+! XFAIL: intelgpu
program main
integer :: A(10)
diff --git a/offload/test/offloading/fortran/target-map-enter-exit-scalar.f90 b/offload/test/offloading/fortran/target-map-enter-exit-scalar.f90
index 7e252259007fe..2832b22c5bff6 100644
--- a/offload/test/offloading/fortran/target-map-enter-exit-scalar.f90
+++ b/offload/test/offloading/fortran/target-map-enter-exit-scalar.f90
@@ -2,6 +2,7 @@
! REQUIRES: flang, amdgpu
! RUN: %libomptarget-compile-fortran-run-and-check-generic
+! XFAIL: intelgpu
program main
integer :: scalar
scalar = 10
diff --git a/offload/test/offloading/fortran/target-map-individual-dtype-member-map.f90 b/offload/test/offloading/fortran/target-map-individual-dtype-member-map.f90
index 081718e0448cd..40a792fd90b91 100644
--- a/offload/test/offloading/fortran/target-map-individual-dtype-member-map.f90
+++ b/offload/test/offloading/fortran/target-map-individual-dtype-member-map.f90
@@ -3,6 +3,7 @@
! REQUIRES: flang, amdgpu
! RUN: %libomptarget-compile-fortran-run-and-check-generic
+! XFAIL: intelgpu
program main
real :: test
type :: scalar
diff --git a/offload/test/offloading/fortran/target-map-nested-dtype-complex-member.f90 b/offload/test/offloading/fortran/target-map-nested-dtype-complex-member.f90
index e1c5fbba53873..a2f4068be16ca 100644
--- a/offload/test/offloading/fortran/target-map-nested-dtype-complex-member.f90
+++ b/offload/test/offloading/fortran/target-map-nested-dtype-complex-member.f90
@@ -3,6 +3,7 @@
! REQUIRES: flang, amdgpu
! RUN: %libomptarget-compile-fortran-run-and-check-generic
+! XFAIL: intelgpu
program main
type :: bottom_layer
real(8) :: i2
diff --git a/offload/test/offloading/fortran/target-map-nested-dtype-derived-member.f90 b/offload/test/offloading/fortran/target-map-nested-dtype-derived-member.f90
index 3d5cb95a78c85..59fcfca4b0402 100644
--- a/offload/test/offloading/fortran/target-map-nested-dtype-derived-member.f90
+++ b/offload/test/offloading/fortran/target-map-nested-dtype-derived-member.f90
@@ -3,6 +3,7 @@
! REQUIRES: flang, amdgpu
! RUN: %libomptarget-compile-fortran-run-and-check-generic
+! XFAIL: intelgpu
program main
type :: bottom_layer
real(8) :: i2
diff --git a/offload/test/offloading/fortran/target-map-nested-dtype-multi-member.f90 b/offload/test/offloading/fortran/target-map-nested-dtype-multi-member.f90
index b8153940fbaa2..69a0c6ee9af38 100644
--- a/offload/test/offloading/fortran/target-map-nested-dtype-multi-member.f90
+++ b/offload/test/offloading/fortran/target-map-nested-dtype-multi-member.f90
@@ -3,6 +3,7 @@
! REQUIRES: flang, amdgpu
! RUN: %libomptarget-compile-fortran-run-and-check-generic
+! XFAIL: intelgpu
program main
type :: bottom_layer
real(8) :: i2
diff --git a/offload/test/offloading/fortran/target-map-pointer-target-array-section-3d-bounds.f90 b/offload/test/offloading/fortran/target-map-pointer-target-array-section-3d-bounds.f90
index 6d9c497134ffb..ae46c777294b4 100644
--- a/offload/test/offloading/fortran/target-map-pointer-target-array-section-3d-bounds.f90
+++ b/offload/test/offloading/fortran/target-map-pointer-target-array-section-3d-bounds.f90
@@ -3,6 +3,7 @@
! REQUIRES: flang, amdgpu
! RUN: %libomptarget-compile-fortran-run-and-check-generic
+! XFAIL: intelgpu
program main
integer, pointer :: inArray(:,:,:)
integer, pointer :: outArray(:,:,:)
diff --git a/offload/test/offloading/fortran/target-map-two-dtype-explicit-member.f90 b/offload/test/offloading/fortran/target-map-two-dtype-explicit-member.f90
index 0fe153189f1b4..336a7c47dcc94 100644
--- a/offload/test/offloading/fortran/target-map-two-dtype-explicit-member.f90
+++ b/offload/test/offloading/fortran/target-map-two-dtype-explicit-member.f90
@@ -3,6 +3,7 @@
! REQUIRES: flang, amdgpu
! RUN: %libomptarget-compile-fortran-run-and-check-generic
+! XFAIL: intelgpu
program main
type :: scalar_array
real(4) :: break_0
diff --git a/offload/test/offloading/fortran/target-no-loop.f90 b/offload/test/offloading/fortran/target-no-loop.f90
index 3c88b00a53541..0cebfbc008b54 100644
--- a/offload/test/offloading/fortran/target-no-loop.f90
+++ b/offload/test/offloading/fortran/target-no-loop.f90
@@ -3,6 +3,7 @@
! RUN: %libomptarget-compile-fortran-generic -O3 -fopenmp-assume-threads-oversubscription -fopenmp-assume-teams-oversubscription
! RUN: env LIBOMPTARGET_INFO=16 OMP_NUM_TEAMS=16 OMP_TEAMS_THREAD_LIMIT=16 %libomptarget-run-generic 2>&1 | %fcheck-generic
+! XFAIL: intelgpu
function check_errors(array) result (errors)
integer, intent(in) :: array(1024)
integer :: errors
diff --git a/offload/test/offloading/fortran/target-region-implicit-array.f90 b/offload/test/offloading/fortran/target-region-implicit-array.f90
index e3852569a5a82..54e1d81122e66 100644
--- a/offload/test/offloading/fortran/target-region-implicit-array.f90
+++ b/offload/test/offloading/fortran/target-region-implicit-array.f90
@@ -3,6 +3,7 @@
! REQUIRES: flang, amdgpu
! RUN: %libomptarget-compile-fortran-run-and-check-generic
+! XFAIL: intelgpu
program main
integer :: x(10) = (/0,0,0,0,0,0,0,0,0,0/)
integer :: i = 1
diff --git a/offload/test/offloading/generic_multiple_parallel_regions.c b/offload/test/offloading/generic_multiple_parallel_regions.c
index 33fe2ca127b6d..80939d147ebca 100644
--- a/offload/test/offloading/generic_multiple_parallel_regions.c
+++ b/offload/test/offloading/generic_multiple_parallel_regions.c
@@ -1,5 +1,6 @@
// RUN: %libomptarget-compile-run-and-check-generic
// RUN: %libomptarget-compileopt-run-and-check-generic
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/offloading/global_constructor.cpp b/offload/test/offloading/global_constructor.cpp
index eb68c5f78358b..0f869788e146f 100644
--- a/offload/test/offloading/global_constructor.cpp
+++ b/offload/test/offloading/global_constructor.cpp
@@ -1,4 +1,7 @@
+// clang-format off
// RUN: %libomptarget-compilexx-generic && %libomptarget-run-generic | %fcheck-generic
+// XFAIL: intelgpu
+// clang-format on
#include <cstdio>
diff --git a/offload/test/offloading/high_trip_count_block_limit.cpp b/offload/test/offloading/high_trip_count_block_limit.cpp
index 12d76d80d72fc..b7109f25163dd 100644
--- a/offload/test/offloading/high_trip_count_block_limit.cpp
+++ b/offload/test/offloading/high_trip_count_block_limit.cpp
@@ -8,6 +8,7 @@
// UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
// UNSUPPORTED: s390x-ibm-linux-gnu
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
+// XFAIL: intelgpu
// clang-format on
/*
diff --git a/offload/test/offloading/host_as_target.c b/offload/test/offloading/host_as_target.c
index 8ab991b723388..24e870b441edb 100644
--- a/offload/test/offloading/host_as_target.c
+++ b/offload/test/offloading/host_as_target.c
@@ -6,6 +6,7 @@
// - Works whether it's specified directly or as the default device.
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/offloading/indirect_fp_mapping.c b/offload/test/offloading/indirect_fp_mapping.c
index a400349c4114e..cf548b4ac39b3 100644
--- a/offload/test/offloading/indirect_fp_mapping.c
+++ b/offload/test/offloading/indirect_fp_mapping.c
@@ -2,6 +2,7 @@
// RUN: %libomptarget-run-generic | %fcheck-generic
// RUN: %libomptarget-compileopt-generic -fopenmp-version=51
// RUN: %libomptarget-run-generic | %fcheck-generic
+// XFAIL: intelgpu
#include <stdio.h>
diff --git a/offload/test/offloading/info.c b/offload/test/offloading/info.c
index d86644b871e25..33aacc728f4ad 100644
--- a/offload/test/offloading/info.c
+++ b/offload/test/offloading/info.c
@@ -7,6 +7,7 @@
// FIXME: Fails due to optimized debugging in 'ptxas'.
// UNSUPPORTED: nvptx64-nvidia-cuda-LTO
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/offloading/interop-print.c b/offload/test/offloading/interop-print.c
index f7b37d992f17f..535b3da8e138b 100644
--- a/offload/test/offloading/interop-print.c
+++ b/offload/test/offloading/interop-print.c
@@ -9,6 +9,7 @@
// REQUIRES: gpu
// XFAIL: nvptx64-nvidia-cuda
// XFAIL: nvptx64-nvidia-cuda-LTO
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/offloading/interop.c b/offload/test/offloading/interop.c
index d9fa2ef883b9c..b7a5b5756d56d 100644
--- a/offload/test/offloading/interop.c
+++ b/offload/test/offloading/interop.c
@@ -1,6 +1,7 @@
// RUN: %libomptarget-compile-run-and-check-generic
// XFAIL: *
+// UNSUPPORTED: intelgpu
#include <assert.h>
#include <omp.h>
diff --git a/offload/test/offloading/looptripcnt.c b/offload/test/offloading/looptripcnt.c
index d1a095038b75a..b39602d14bd37 100644
--- a/offload/test/offloading/looptripcnt.c
+++ b/offload/test/offloading/looptripcnt.c
@@ -1,5 +1,8 @@
+// clang-format off
// RUN: %libomptarget-compile-generic && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-generic 2>&1 | %fcheck-generic -allow-empty -check-prefix=DEBUG
// REQUIRES: libomptarget-debug
+// XFAIL: intelgpu
+// clang-format on
/*
Test for looptripcount being popped from runtime stack.
diff --git a/offload/test/offloading/malloc.c b/offload/test/offloading/malloc.c
index 04e72561d3127..d9b87d2bbe27c 100644
--- a/offload/test/offloading/malloc.c
+++ b/offload/test/offloading/malloc.c
@@ -1,5 +1,6 @@
// RUN: %libomptarget-compile-generic && %libomptarget-run-generic
// RUN: %libomptarget-compileopt-generic && %libomptarget-run-generic
+// XFAIL: intelgpu
#include <stdio.h>
#include <stdlib.h>
diff --git a/offload/test/offloading/memory_manager.cpp b/offload/test/offloading/memory_manager.cpp
index d6d8697fcdec8..68db0f5dec986 100644
--- a/offload/test/offloading/memory_manager.cpp
+++ b/offload/test/offloading/memory_manager.cpp
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compilexx-run-and-check-generic
+// XFAIL: intelgpu
#include <omp.h>
diff --git a/offload/test/offloading/multiple_reductions_simple.c b/offload/test/offloading/multiple_reductions_simple.c
index 54e55f97a2373..5357caa46c29b 100644
--- a/offload/test/offloading/multiple_reductions_simple.c
+++ b/offload/test/offloading/multiple_reductions_simple.c
@@ -1,5 +1,6 @@
// RUN: %libomptarget-compile-run-and-check-generic
// RUN: %libomptarget-compileopt-run-and-check-generic
+// XFAIL: intelgpu
#include <stdio.h>
diff --git a/offload/test/offloading/offloading_success.c b/offload/test/offloading/offloading_success.c
index f849cb4cfba79..407be9683dbcf 100644
--- a/offload/test/offloading/offloading_success.c
+++ b/offload/test/offloading/offloading_success.c
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/offloading/offloading_success.cpp b/offload/test/offloading/offloading_success.cpp
index d3103b8666ab5..72ad7c58968d8 100644
--- a/offload/test/offloading/offloading_success.cpp
+++ b/offload/test/offloading/offloading_success.cpp
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compilexx-run-and-check-generic
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/offloading/ompx_bare.c b/offload/test/offloading/ompx_bare.c
index 9c8addf03c4dc..9589d72de3cd8 100644
--- a/offload/test/offloading/ompx_bare.c
+++ b/offload/test/offloading/ompx_bare.c
@@ -3,6 +3,7 @@
// RUN: %fcheck-generic
//
// REQUIRES: gpu
+// XFAIL: intelgpu
#include <assert.h>
#include <ompx.h>
diff --git a/offload/test/offloading/ompx_bare_ballot_sync.c b/offload/test/offloading/ompx_bare_ballot_sync.c
index b810fb404b58f..425bc4617aac1 100644
--- a/offload/test/offloading/ompx_bare_ballot_sync.c
+++ b/offload/test/offloading/ompx_bare_ballot_sync.c
@@ -1,6 +1,7 @@
// RUN: %libomptarget-compilexx-run-and-check-generic
//
// REQUIRES: gpu
+// XFAIL: intelgpu
#include <assert.h>
#include <ompx.h>
diff --git a/offload/test/offloading/ompx_bare_multi_dim.cpp b/offload/test/offloading/ompx_bare_multi_dim.cpp
index 3a726f89f7dfb..924810a44b076 100644
--- a/offload/test/offloading/ompx_bare_multi_dim.cpp
+++ b/offload/test/offloading/ompx_bare_multi_dim.cpp
@@ -1,6 +1,9 @@
+// clang-format off
// RUN: %libomptarget-compilexx-generic
// RUN: env LIBOMPTARGET_INFO=63 %libomptarget-run-generic 2>&1 | %fcheck-generic
// REQUIRES: gpu
+// XFAIL: intelgpu
+// clang-format on
#include <ompx.h>
diff --git a/offload/test/offloading/ompx_bare_shfl_down_sync.cpp b/offload/test/offloading/ompx_bare_shfl_down_sync.cpp
index 311999918de85..27b1e41e31942 100644
--- a/offload/test/offloading/ompx_bare_shfl_down_sync.cpp
+++ b/offload/test/offloading/ompx_bare_shfl_down_sync.cpp
@@ -1,6 +1,7 @@
// RUN: %libomptarget-compilexx-run-and-check-generic
//
// REQUIRES: gpu
+// XFAIL: intelgpu
#include <cassert>
#include <cmath>
diff --git a/offload/test/offloading/ompx_coords.c b/offload/test/offloading/ompx_coords.c
index 7cca784a90905..71979ef2ebe87 100644
--- a/offload/test/offloading/ompx_coords.c
+++ b/offload/test/offloading/ompx_coords.c
@@ -1,6 +1,7 @@
// RUN: %libomptarget-compileopt-run-and-check-generic
//
// REQUIRES: gpu
+// XFAIL: intelgpu
#include <omp.h>
#include <ompx.h>
diff --git a/offload/test/offloading/ompx_saxpy_mixed.c b/offload/test/offloading/ompx_saxpy_mixed.c
index 02cb78b216b87..f370d68327c93 100644
--- a/offload/test/offloading/ompx_saxpy_mixed.c
+++ b/offload/test/offloading/ompx_saxpy_mixed.c
@@ -1,6 +1,7 @@
// RUN: %libomptarget-compileopt-run-and-check-generic
//
// REQUIRES: gpu
+// XFAIL: intelgpu
#include <math.h>
#include <omp.h>
diff --git a/offload/test/offloading/parallel_offloading_map.cpp b/offload/test/offloading/parallel_offloading_map.cpp
index d2a6c4200df52..50281f5043a7b 100644
--- a/offload/test/offloading/parallel_offloading_map.cpp
+++ b/offload/test/offloading/parallel_offloading_map.cpp
@@ -1,6 +1,7 @@
// RUN: %libomptarget-compilexx-run-and-check-generic
// REQUIRES: gpu
+// XFAIL: intelgpu
#include <cassert>
#include <iostream>
diff --git a/offload/test/offloading/parallel_target_teams_reduction.cpp b/offload/test/offloading/parallel_target_teams_reduction.cpp
index d6486f6237783..05f675b87c5e1 100644
--- a/offload/test/offloading/parallel_target_teams_reduction.cpp
+++ b/offload/test/offloading/parallel_target_teams_reduction.cpp
@@ -3,6 +3,7 @@
// FIXME: This is a bug in host offload, this should run fine.
// REQUIRES: gpu
+// XFAIL: intelgpu
#include <iostream>
#include <vector>
diff --git a/offload/test/offloading/parallel_target_teams_reduction_max.cpp b/offload/test/offloading/parallel_target_teams_reduction_max.cpp
index ae0cf25a90178..bb893e6f3f755 100644
--- a/offload/test/offloading/parallel_target_teams_reduction_max.cpp
+++ b/offload/test/offloading/parallel_target_teams_reduction_max.cpp
@@ -3,6 +3,7 @@
// FIXME: This is a bug in host offload, this should run fine.
// REQUIRES: gpu
+// XFAIL: intelgpu
// This test validates that the OpenMP target reductions to find a maximum work
// as intended for a few common data types.
diff --git a/offload/test/offloading/parallel_target_teams_reduction_min.cpp b/offload/test/offloading/parallel_target_teams_reduction_min.cpp
index 8a1610357a506..416ef44f21127 100644
--- a/offload/test/offloading/parallel_target_teams_reduction_min.cpp
+++ b/offload/test/offloading/parallel_target_teams_reduction_min.cpp
@@ -3,6 +3,7 @@
// FIXME: This is a bug in host offload, this should run fine.
// REQUIRES: gpu
+// XFAIL: intelgpu
// This test validates that the OpenMP target reductions to find a minimum work
// as intended for a few common data types.
diff --git a/offload/test/offloading/requires.c b/offload/test/offloading/requires.c
index fc21ca3420e9e..02fbfa441f52f 100644
--- a/offload/test/offloading/requires.c
+++ b/offload/test/offloading/requires.c
@@ -1,6 +1,7 @@
// clang-format off
// RUN: %libomptarget-compile-generic -DREQ=1 && %libomptarget-run-generic 2>&1 | %fcheck-generic -check-prefix=GOOD
// RUN: %libomptarget-compile-generic -DREQ=2 && %not --crash %libomptarget-run-generic 2>&1 | %fcheck-generic -check-prefix=BAD
+// XFAIL: intelgpu
// clang-format on
/*
diff --git a/offload/test/offloading/shared_lib_fp_mapping.c b/offload/test/offloading/shared_lib_fp_mapping.c
index e0af9b70a75c5..431c4e9bb0b50 100644
--- a/offload/test/offloading/shared_lib_fp_mapping.c
+++ b/offload/test/offloading/shared_lib_fp_mapping.c
@@ -3,6 +3,7 @@
// RUN: %clang-generic -fPIC -shared %S/../Inputs/declare_indirect_func.c -o %t.testdir/libslfm.so -fopenmp-version=51
// RUN: %libomptarget-compile-generic -rpath %t.testdir -L %t.testdir -l slfm -o %t -fopenmp-version=51
// RUN: env LIBOMPTARGET_INFO=32 %t 2>&1 | %fcheck-generic
+// XFAIL: intelgpu
// clang-format on
#include <stdio.h>
diff --git a/offload/test/offloading/small_trip_count.c b/offload/test/offloading/small_trip_count.c
index e9ec8b7103d66..fd569ce6f41b2 100644
--- a/offload/test/offloading/small_trip_count.c
+++ b/offload/test/offloading/small_trip_count.c
@@ -6,6 +6,7 @@
// RUN: %libomptarget-run-generic 2>&1 | %fcheck-generic --check-prefix=EIGHT
// REQUIRES: gpu
+// XFAIL: intelgpu
#define N 128
diff --git a/offload/test/offloading/small_trip_count_thread_limit.cpp b/offload/test/offloading/small_trip_count_thread_limit.cpp
index fbd7fe9175d70..3afc7ce83792a 100644
--- a/offload/test/offloading/small_trip_count_thread_limit.cpp
+++ b/offload/test/offloading/small_trip_count_thread_limit.cpp
@@ -4,6 +4,7 @@
// RUN: %libomptarget-run-generic 2>&1 | %fcheck-generic
// REQUIRES: gpu
+// XFAIL: intelgpu
int main(int argc, char *argv[]) {
constexpr const int block_size = 256;
diff --git a/offload/test/offloading/spmdization.c b/offload/test/offloading/spmdization.c
index 48627cd7dae1a..ca881a7580244 100644
--- a/offload/test/offloading/spmdization.c
+++ b/offload/test/offloading/spmdization.c
@@ -9,6 +9,7 @@
// clang-format on
// REQUIRES: gpu
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/offloading/static_linking.c b/offload/test/offloading/static_linking.c
index 273109e10c09e..000ed11052d37 100644
--- a/offload/test/offloading/static_linking.c
+++ b/offload/test/offloading/static_linking.c
@@ -1,6 +1,9 @@
+// clang-format off
// RUN: %libomptarget-compile-generic -DLIBRARY -c -o %t.o
// RUN: ar rcs %t.a %t.o
// RUN: %libomptarget-compile-generic %t.a && %libomptarget-run-generic 2>&1 | %fcheck-generic
+// XFAIL: intelgpu
+// clang-format on
#ifdef LIBRARY
int x = 42;
diff --git a/offload/test/offloading/std_complex_arithmetic.cpp b/offload/test/offloading/std_complex_arithmetic.cpp
index 641b849bbc3e6..8f493015f2e6e 100644
--- a/offload/test/offloading/std_complex_arithmetic.cpp
+++ b/offload/test/offloading/std_complex_arithmetic.cpp
@@ -7,6 +7,7 @@
// needed math functions in the GPU `libm` and require the GPU C library.
// UNSUPPORTED: amdgcn-amd-amdhsa
// UNSUPPORTED: nvptx64-nvidia-cuda-LTO
+// XFAIL: intelgpu
#include <cassert>
#include <complex>
diff --git a/offload/test/offloading/strided_multiple_update.c b/offload/test/offloading/strided_multiple_update.c
index a3e8d10863aef..4f2df81933738 100644
--- a/offload/test/offloading/strided_multiple_update.c
+++ b/offload/test/offloading/strided_multiple_update.c
@@ -3,6 +3,7 @@
// from the device to the host.
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/offloading/strided_partial_update.c b/offload/test/offloading/strided_partial_update.c
index 15d477f2b9b78..4a2977a08f70b 100644
--- a/offload/test/offloading/strided_partial_update.c
+++ b/offload/test/offloading/strided_partial_update.c
@@ -3,6 +3,7 @@
// across the array
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/offloading/strided_ptr_multiple_update_from.c b/offload/test/offloading/strided_ptr_multiple_update_from.c
index b671a1e2b688d..33deb59534f69 100644
--- a/offload/test/offloading/strided_ptr_multiple_update_from.c
+++ b/offload/test/offloading/strided_ptr_multiple_update_from.c
@@ -3,6 +3,7 @@
// from the device to the host using dynamically allocated memory.
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/offload/test/offloading/strided_ptr_multiple_update_to.c b/offload/test/offloading/strided_ptr_multiple_update_to.c
index 7ae9189ead8e3..be56f3dc5c248 100644
--- a/offload/test/offloading/strided_ptr_multiple_update_to.c
+++ b/offload/test/offloading/strided_ptr_multiple_update_to.c
@@ -3,6 +3,7 @@
// from the host to the device using dynamically allocated memory.
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/offload/test/offloading/strided_ptr_partial_update_from.c b/offload/test/offloading/strided_ptr_partial_update_from.c
index d30a671393002..be235d3d9c532 100644
--- a/offload/test/offloading/strided_ptr_partial_update_from.c
+++ b/offload/test/offloading/strided_ptr_partial_update_from.c
@@ -3,6 +3,7 @@
// across the array using dynamically allocated memory.
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/offload/test/offloading/strided_ptr_partial_update_to.c b/offload/test/offloading/strided_ptr_partial_update_to.c
index 37c165351a760..662e1a2655cab 100644
--- a/offload/test/offloading/strided_ptr_partial_update_to.c
+++ b/offload/test/offloading/strided_ptr_partial_update_to.c
@@ -3,6 +3,7 @@
// across the array using dynamically allocated memory.
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/offload/test/offloading/strided_update.c b/offload/test/offloading/strided_update.c
index fe875b7fd55c9..9910bed9c5466 100644
--- a/offload/test/offloading/strided_update.c
+++ b/offload/test/offloading/strided_update.c
@@ -4,6 +4,7 @@
// other element (stride 2) from the device to the host
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/offloading/struct_mapping_with_pointers.cpp b/offload/test/offloading/struct_mapping_with_pointers.cpp
index 369e8dff2527c..a9a8c7e459cdc 100644
--- a/offload/test/offloading/struct_mapping_with_pointers.cpp
+++ b/offload/test/offloading/struct_mapping_with_pointers.cpp
@@ -6,6 +6,7 @@
// UNSUPPORTED: nvptx64-nvidia-cuda
// UNSUPPORTED: nvptx64-nvidia-cuda-LTO
+// XFAIL: intelgpu
#include <stdio.h>
#include <stdlib.h>
diff --git a/offload/test/offloading/target-teams-atomic.c b/offload/test/offloading/target-teams-atomic.c
index 97563422ced8f..ccc60040903e8 100644
--- a/offload/test/offloading/target-teams-atomic.c
+++ b/offload/test/offloading/target-teams-atomic.c
@@ -3,6 +3,7 @@
// default.
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
#include <omp.h>
#include <stdbool.h>
diff --git a/offload/test/offloading/target-tile.c b/offload/test/offloading/target-tile.c
index 8460b43b6f9c7..e5413a9493f4c 100644
--- a/offload/test/offloading/target-tile.c
+++ b/offload/test/offloading/target-tile.c
@@ -3,6 +3,7 @@
// RUN: %libomptarget-compile-generic -fopenmp-version=51
// RUN: %libomptarget-run-generic 2>&1 | %fcheck-generic
+// XFAIL: intelgpu
#include <stdio.h>
diff --git a/offload/test/offloading/target_constexpr_mapping.cpp b/offload/test/offloading/target_constexpr_mapping.cpp
index 14cf92a7cc26e..240005b48763b 100644
--- a/offload/test/offloading/target_constexpr_mapping.cpp
+++ b/offload/test/offloading/target_constexpr_mapping.cpp
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compileoptxx-run-and-check-generic
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/offloading/target_critical_region.cpp b/offload/test/offloading/target_critical_region.cpp
index 0b97823e266b2..ddab2e754a66f 100644
--- a/offload/test/offloading/target_critical_region.cpp
+++ b/offload/test/offloading/target_critical_region.cpp
@@ -4,6 +4,7 @@
// UNSUPPORTED: nvptx64-nvidia-cuda
// UNSUPPORTED: nvptx64-nvidia-cuda-LTO
// UNSUPPORTED: amdgcn-amd-amdhsa
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/offloading/target_depend_nowait.cpp b/offload/test/offloading/target_depend_nowait.cpp
index b0d5408770bca..0a6b903db6882 100644
--- a/offload/test/offloading/target_depend_nowait.cpp
+++ b/offload/test/offloading/target_depend_nowait.cpp
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compilexx-run-and-check-generic
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/offloading/target_map_for_member_data.cpp b/offload/test/offloading/target_map_for_member_data.cpp
index 7fba71be6e662..ea057d66ea64f 100644
--- a/offload/test/offloading/target_map_for_member_data.cpp
+++ b/offload/test/offloading/target_map_for_member_data.cpp
@@ -3,6 +3,7 @@
// clang-format on
// REQUIRES: libomptarget-debug
+// XFAIL: intelgpu
struct DataTy {
float a;
diff --git a/offload/test/offloading/target_nowait_target.cpp b/offload/test/offloading/target_nowait_target.cpp
index 7c20e76ce138a..f6c2b56963cf1 100644
--- a/offload/test/offloading/target_nowait_target.cpp
+++ b/offload/test/offloading/target_nowait_target.cpp
@@ -1,5 +1,6 @@
// RUN: %libomptarget-compilexx-and-run-generic
// RUN: %libomptarget-compileoptxx-and-run-generic
+// XFAIL: intelgpu
#include <cassert>
diff --git a/offload/test/offloading/target_update_from.c b/offload/test/offloading/target_update_from.c
index 4f84968f6d9a9..92697bc6b802a 100644
--- a/offload/test/offloading/target_update_from.c
+++ b/offload/test/offloading/target_update_from.c
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
// This test checks that "update from" clause in OpenMP supports strided
// sections. #pragma omp target update from(result[0:N/2:2]) updates every other
// element from device
diff --git a/offload/test/offloading/target_update_strided_struct_from.c b/offload/test/offloading/target_update_strided_struct_from.c
index 46448d10189f2..7a8805ab35e98 100644
--- a/offload/test/offloading/target_update_strided_struct_from.c
+++ b/offload/test/offloading/target_update_strided_struct_from.c
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
// This test checks that "update from" with user-defined mapper supports strided
// sections using fixed-size arrays in structs.
diff --git a/offload/test/offloading/target_update_strided_struct_multiple_from.c b/offload/test/offloading/target_update_strided_struct_multiple_from.c
index fa57d35b86a4a..16023be5970a1 100644
--- a/offload/test/offloading/target_update_strided_struct_multiple_from.c
+++ b/offload/test/offloading/target_update_strided_struct_multiple_from.c
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
// This test checks that #pragma omp target update from(s1.data[0:6:2],
// s2.data[0:4:3]) correctly updates strided sections covering the full arrays
// from device to host.
diff --git a/offload/test/offloading/target_update_strided_struct_multiple_to.c b/offload/test/offloading/target_update_strided_struct_multiple_to.c
index 69c4015153580..182b40cb06b37 100644
--- a/offload/test/offloading/target_update_strided_struct_multiple_to.c
+++ b/offload/test/offloading/target_update_strided_struct_multiple_to.c
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
// This test checks that #pragma omp target update to(s1.data[0:6:2],
// s2.data[0:4:3]) correctly updates strided sections covering the full arrays
// from host to device.
diff --git a/offload/test/offloading/target_update_strided_struct_partial_from.c b/offload/test/offloading/target_update_strided_struct_partial_from.c
index c0ffc72f900a6..fb852c07f0238 100644
--- a/offload/test/offloading/target_update_strided_struct_partial_from.c
+++ b/offload/test/offloading/target_update_strided_struct_partial_from.c
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
// This test checks that #pragma omp target update from(s.data[0:2:3]) correctly
// updates every third element (stride 3) from the device to the host
// using a struct with fixed-size array member.
diff --git a/offload/test/offloading/target_update_strided_struct_partial_to.c b/offload/test/offloading/target_update_strided_struct_partial_to.c
index 018dcac7cdcf8..35c52ea2db207 100644
--- a/offload/test/offloading/target_update_strided_struct_partial_to.c
+++ b/offload/test/offloading/target_update_strided_struct_partial_to.c
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
// This test checks that #pragma omp target update to(s.data[0:2:3]) correctly
// updates every third element (stride 3) from the host to the device
// for struct member arrays.
diff --git a/offload/test/offloading/target_update_strided_struct_to.c b/offload/test/offloading/target_update_strided_struct_to.c
index 90b3a5fe26989..3c02232df2806 100644
--- a/offload/test/offloading/target_update_strided_struct_to.c
+++ b/offload/test/offloading/target_update_strided_struct_to.c
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
// This test checks that "update to" with struct member arrays supports strided
// sections using fixed-size arrays in structs.
diff --git a/offload/test/offloading/target_update_to.c b/offload/test/offloading/target_update_to.c
index d45d3182a166d..ca4984850a493 100644
--- a/offload/test/offloading/target_update_to.c
+++ b/offload/test/offloading/target_update_to.c
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
// This test checks that "update to" clause in OpenMP supports strided sections.
// #pragma omp target update to(result[0:8:2]) updates every other element
// (stride 2)
diff --git a/offload/test/offloading/task_in_reduction_target.c b/offload/test/offloading/task_in_reduction_target.c
index b546d73d544a5..6aeb805a0a9ad 100644
--- a/offload/test/offloading/task_in_reduction_target.c
+++ b/offload/test/offloading/task_in_reduction_target.c
@@ -1,5 +1,6 @@
// RUN: %libomptarget-compile-generic && \
// RUN: %libomptarget-run-generic
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/offloading/taskloop_offload_nowait.cpp b/offload/test/offloading/taskloop_offload_nowait.cpp
index 26a40298eea3e..4d7ca1b524dac 100644
--- a/offload/test/offloading/taskloop_offload_nowait.cpp
+++ b/offload/test/offloading/taskloop_offload_nowait.cpp
@@ -1,6 +1,7 @@
// RUN: %libomptarget-compilexx-and-run-generic
// REQUIRES: gpu
+// XFAIL: intelgpu
#include <cmath>
#include <cstdlib>
diff --git a/offload/test/offloading/test_libc.cpp b/offload/test/offloading/test_libc.cpp
index 859c2da97de0b..08dd1a998d6c3 100644
--- a/offload/test/offloading/test_libc.cpp
+++ b/offload/test/offloading/test_libc.cpp
@@ -1,4 +1,5 @@
// RUN: %libomptarget-compilexx-run-and-check-generic
+// XFAIL: intelgpu
#include <algorithm>
diff --git a/offload/test/offloading/thread_limit.c b/offload/test/offloading/thread_limit.c
index 72fa0b218a3c5..34c952175f8b6 100644
--- a/offload/test/offloading/thread_limit.c
+++ b/offload/test/offloading/thread_limit.c
@@ -6,6 +6,7 @@
// UNSUPPORTED: nvptx64-nvidia-cuda
// UNSUPPORTED: nvptx64-nvidia-cuda-LTO
// REQUIRES: gpu
+// XFAIL: intelgpu
int main() {
int n = 1 << 20;
diff --git a/offload/test/offloading/thread_state_1.c b/offload/test/offloading/thread_state_1.c
index 908b71638097f..404ed6812928e 100644
--- a/offload/test/offloading/thread_state_1.c
+++ b/offload/test/offloading/thread_state_1.c
@@ -1,5 +1,6 @@
// RUN: %libomptarget-compile-run-and-check-generic
// RUN: %libomptarget-compileopt-run-and-check-generic
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/offloading/thread_state_2.c b/offload/test/offloading/thread_state_2.c
index 38bc86b7ad0c4..d40b987883c8f 100644
--- a/offload/test/offloading/thread_state_2.c
+++ b/offload/test/offloading/thread_state_2.c
@@ -1,5 +1,6 @@
// This fails when optimized for now.
// RUN: %libomptarget-compile-run-and-check-generic
+// XFAIL: intelgpu
// XUN: %libomptarget-compileopt-run-and-check-generic
#include <omp.h>
diff --git a/offload/test/offloading/weak.c b/offload/test/offloading/weak.c
index ca81db958356b..52110b069f370 100644
--- a/offload/test/offloading/weak.c
+++ b/offload/test/offloading/weak.c
@@ -2,6 +2,7 @@
// RUN: %libomptarget-compile-generic -DB -c -o %t-b.o
// RUN: %libomptarget-compile-generic %t-a.o %t-b.o && \
// RUN: %libomptarget-run-generic | %fcheck-generic
+// XFAIL: intelgpu
#if defined(A)
__attribute__((weak)) int x = 999;
diff --git a/offload/test/offloading/workshare_chunk.c b/offload/test/offloading/workshare_chunk.c
index a6845bf4faccd..551cc8d997cf7 100644
--- a/offload/test/offloading/workshare_chunk.c
+++ b/offload/test/offloading/workshare_chunk.c
@@ -2,6 +2,7 @@
// RUN: %libomptarget-compileopt-run-and-check-generic
// REQUIRES: gpu
+// XFAIL: intelgpu
// clang-format off
diff --git a/offload/test/offloading/wtime.c b/offload/test/offloading/wtime.c
index 8a6e206061e21..6dcd9234faa4c 100644
--- a/offload/test/offloading/wtime.c
+++ b/offload/test/offloading/wtime.c
@@ -1,6 +1,7 @@
// RUN: %libomptarget-compileopt-and-run-generic
// UNSUPPORTED: amdgcn-amd-amdhsa
+// XFAIL: intelgpu
#include <assert.h>
#include <omp.h>
diff --git a/offload/test/ompt/veccopy.c b/offload/test/ompt/veccopy.c
index 24d7363e65599..c11bea96c7943 100644
--- a/offload/test/ompt/veccopy.c
+++ b/offload/test/ompt/veccopy.c
@@ -2,6 +2,7 @@
// RUN: %libomptarget-compile-run-and-check-generic
// REQUIRES: ompt
// REQUIRES: gpu
+// XFAIL: intelgpu
// clang-format on
/*
diff --git a/offload/test/ompt/veccopy_data.c b/offload/test/ompt/veccopy_data.c
index 9df5374193e94..2e470613c3c69 100644
--- a/offload/test/ompt/veccopy_data.c
+++ b/offload/test/ompt/veccopy_data.c
@@ -2,6 +2,7 @@
// RUN: %libomptarget-compile-run-and-check-generic
// REQUIRES: ompt
// REQUIRES: gpu
+// XFAIL: intelgpu
// clang-format on
/*
diff --git a/offload/test/ompt/veccopy_disallow_both.c b/offload/test/ompt/veccopy_disallow_both.c
index bfc67c5f4d274..f0ce983dc5692 100644
--- a/offload/test/ompt/veccopy_disallow_both.c
+++ b/offload/test/ompt/veccopy_disallow_both.c
@@ -2,6 +2,7 @@
// RUN: %libomptarget-compile-run-and-check-generic
// REQUIRES: ompt
// REQUIRES: gpu
+// XFAIL: intelgpu
// clang-format on
/*
diff --git a/offload/test/ompt/veccopy_emi.c b/offload/test/ompt/veccopy_emi.c
index a1427b86a58fa..d8af117bec02f 100644
--- a/offload/test/ompt/veccopy_emi.c
+++ b/offload/test/ompt/veccopy_emi.c
@@ -2,6 +2,7 @@
// RUN: %libomptarget-compile-run-and-check-generic
// REQUIRES: ompt
// REQUIRES: gpu
+// XFAIL: intelgpu
// clang-format on
/*
diff --git a/offload/test/ompt/veccopy_emi_map.c b/offload/test/ompt/veccopy_emi_map.c
index 450faa1f28b0e..2bb8ad67c909f 100644
--- a/offload/test/ompt/veccopy_emi_map.c
+++ b/offload/test/ompt/veccopy_emi_map.c
@@ -2,6 +2,7 @@
// RUN: %libomptarget-compile-run-and-check-generic
// REQUIRES: ompt
// REQUIRES: gpu
+// XFAIL: intelgpu
// clang-format on
/*
diff --git a/offload/test/ompt/veccopy_map.c b/offload/test/ompt/veccopy_map.c
index 12e141ea74d07..26ed9611fe822 100644
--- a/offload/test/ompt/veccopy_map.c
+++ b/offload/test/ompt/veccopy_map.c
@@ -2,6 +2,7 @@
// RUN: %libomptarget-compile-run-and-check-generic
// REQUIRES: ompt
// REQUIRES: gpu
+// XFAIL: intelgpu
// clang-format on
/*
diff --git a/offload/test/ompt/veccopy_no_device_init.c b/offload/test/ompt/veccopy_no_device_init.c
index ade06fcc92290..4025919daeeb7 100644
--- a/offload/test/ompt/veccopy_no_device_init.c
+++ b/offload/test/ompt/veccopy_no_device_init.c
@@ -1,6 +1,7 @@
// clang-format off
// RUN: %libomptarget-compile-run-and-check-generic
// REQUIRES: ompt
+// XFAIL: intelgpu
// clang-format on
/*
diff --git a/offload/test/ompt/veccopy_wrong_return.c b/offload/test/ompt/veccopy_wrong_return.c
index 17327f3553817..dc5ea7e6acf56 100644
--- a/offload/test/ompt/veccopy_wrong_return.c
+++ b/offload/test/ompt/veccopy_wrong_return.c
@@ -1,6 +1,7 @@
// clang-format off
// RUN: %libomptarget-compile-run-and-check-generic
// REQUIRES: ompt
+// XFAIL: intelgpu
// clang-format on
/*
diff --git a/offload/test/sanitizer/double_free.c b/offload/test/sanitizer/double_free.c
index c229e0297d0ea..7b8f5b6888aef 100644
--- a/offload/test/sanitizer/double_free.c
+++ b/offload/test/sanitizer/double_free.c
@@ -11,6 +11,7 @@
// UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
// UNSUPPORTED: s390x-ibm-linux-gnu
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
+// XFAIL: intelgpu
#include <omp.h>
diff --git a/offload/test/sanitizer/double_free_racy.c b/offload/test/sanitizer/double_free_racy.c
index 845b479c3fb1f..212ccca4735cc 100644
--- a/offload/test/sanitizer/double_free_racy.c
+++ b/offload/test/sanitizer/double_free_racy.c
@@ -11,6 +11,7 @@
// UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
// UNSUPPORTED: s390x-ibm-linux-gnu
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
+// UNSUPPORTED: intelgpu
#include <omp.h>
diff --git a/offload/test/sanitizer/free_host_ptr.c b/offload/test/sanitizer/free_host_ptr.c
index 81653080cabf1..f0019ca3c701a 100644
--- a/offload/test/sanitizer/free_host_ptr.c
+++ b/offload/test/sanitizer/free_host_ptr.c
@@ -11,6 +11,7 @@
// UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
// UNSUPPORTED: s390x-ibm-linux-gnu
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
+// XFAIL: intelgpu
#include <omp.h>
diff --git a/offload/test/sanitizer/free_wrong_ptr_kind.c b/offload/test/sanitizer/free_wrong_ptr_kind.c
index aeec00162f603..cd2903c576d38 100644
--- a/offload/test/sanitizer/free_wrong_ptr_kind.c
+++ b/offload/test/sanitizer/free_wrong_ptr_kind.c
@@ -11,6 +11,7 @@
// UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
// UNSUPPORTED: s390x-ibm-linux-gnu
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
+// XFAIL: intelgpu
#include <omp.h>
diff --git a/offload/test/sanitizer/free_wrong_ptr_kind.cpp b/offload/test/sanitizer/free_wrong_ptr_kind.cpp
index b801abc37199b..52f0208a28e32 100644
--- a/offload/test/sanitizer/free_wrong_ptr_kind.cpp
+++ b/offload/test/sanitizer/free_wrong_ptr_kind.cpp
@@ -11,6 +11,7 @@
// UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
// UNSUPPORTED: s390x-ibm-linux-gnu
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
+// XFAIL: intelgpu
#include <omp.h>
diff --git a/offload/test/sanitizer/kernel_crash.c b/offload/test/sanitizer/kernel_crash.c
index 1406af47c7ba9..9c29a157acdad 100644
--- a/offload/test/sanitizer/kernel_crash.c
+++ b/offload/test/sanitizer/kernel_crash.c
@@ -15,6 +15,7 @@
// UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
// UNSUPPORTED: s390x-ibm-linux-gnu
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
+// XFAIL: intelgpu
#include <omp.h>
diff --git a/offload/test/sanitizer/kernel_crash_async.c b/offload/test/sanitizer/kernel_crash_async.c
index d51418f817889..a311ab6704bd5 100644
--- a/offload/test/sanitizer/kernel_crash_async.c
+++ b/offload/test/sanitizer/kernel_crash_async.c
@@ -15,6 +15,7 @@
// UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
// UNSUPPORTED: s390x-ibm-linux-gnu
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
+// XFAIL: intelgpu
#include <omp.h>
diff --git a/offload/test/sanitizer/kernel_crash_many.c b/offload/test/sanitizer/kernel_crash_many.c
index f1d17ca2b76e2..44fe7d24c7153 100644
--- a/offload/test/sanitizer/kernel_crash_many.c
+++ b/offload/test/sanitizer/kernel_crash_many.c
@@ -13,6 +13,7 @@
// UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
// UNSUPPORTED: s390x-ibm-linux-gnu
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
+// XFAIL: intelgpu
#include <omp.h>
diff --git a/offload/test/sanitizer/kernel_crash_single.c b/offload/test/sanitizer/kernel_crash_single.c
index 8baa0a850bf15..67e3f876c4189 100644
--- a/offload/test/sanitizer/kernel_crash_single.c
+++ b/offload/test/sanitizer/kernel_crash_single.c
@@ -15,6 +15,7 @@
// UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
// UNSUPPORTED: s390x-ibm-linux-gnu
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
+// XFAIL: intelgpu
#include <omp.h>
diff --git a/offload/test/sanitizer/kernel_trap.c b/offload/test/sanitizer/kernel_trap.c
index 7a166bfda5ee9..05a0dd73977be 100644
--- a/offload/test/sanitizer/kernel_trap.c
+++ b/offload/test/sanitizer/kernel_trap.c
@@ -16,6 +16,7 @@
// UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
// UNSUPPORTED: s390x-ibm-linux-gnu
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
+// XFAIL: intelgpu
#include <omp.h>
diff --git a/offload/test/sanitizer/kernel_trap.cpp b/offload/test/sanitizer/kernel_trap.cpp
index c67b3857fabba..2b9a18ef2b5d2 100644
--- a/offload/test/sanitizer/kernel_trap.cpp
+++ b/offload/test/sanitizer/kernel_trap.cpp
@@ -16,6 +16,7 @@
// UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
// UNSUPPORTED: s390x-ibm-linux-gnu
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
+// XFAIL: intelgpu
struct S {};
diff --git a/offload/test/sanitizer/kernel_trap_async.c b/offload/test/sanitizer/kernel_trap_async.c
index 391ff0c7dcaa4..92b2028a8c722 100644
--- a/offload/test/sanitizer/kernel_trap_async.c
+++ b/offload/test/sanitizer/kernel_trap_async.c
@@ -16,6 +16,7 @@
// UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
// UNSUPPORTED: s390x-ibm-linux-gnu
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
+// XFAIL: intelgpu
#include <omp.h>
diff --git a/offload/test/sanitizer/kernel_trap_many.c b/offload/test/sanitizer/kernel_trap_many.c
index f2e63794168b2..2a9c34745e86a 100644
--- a/offload/test/sanitizer/kernel_trap_many.c
+++ b/offload/test/sanitizer/kernel_trap_many.c
@@ -13,6 +13,7 @@
// UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
// UNSUPPORTED: s390x-ibm-linux-gnu
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
+// XFAIL: intelgpu
#include <omp.h>
diff --git a/offload/test/sanitizer/ptr_outside_alloc_1.c b/offload/test/sanitizer/ptr_outside_alloc_1.c
index b30ce12ef1ea2..d6e15b3aecb04 100644
--- a/offload/test/sanitizer/ptr_outside_alloc_1.c
+++ b/offload/test/sanitizer/ptr_outside_alloc_1.c
@@ -9,6 +9,7 @@
// UNSUPPORTED: nvidiagpu
//
// REQUIRES: gpu
+// XFAIL: intelgpu
#include <omp.h>
diff --git a/offload/test/sanitizer/ptr_outside_alloc_2.c b/offload/test/sanitizer/ptr_outside_alloc_2.c
index 3bb8bdaca8b48..0d49729f78c1c 100644
--- a/offload/test/sanitizer/ptr_outside_alloc_2.c
+++ b/offload/test/sanitizer/ptr_outside_alloc_2.c
@@ -7,6 +7,7 @@
// UNSUPPORTED: nvidiagpu
//
// REQUIRES: gpu
+// XFAIL: intelgpu
#include <omp.h>
diff --git a/offload/test/sanitizer/use_after_free_1.c b/offload/test/sanitizer/use_after_free_1.c
index acc1de373f9e3..927e54ddab2bd 100644
--- a/offload/test/sanitizer/use_after_free_1.c
+++ b/offload/test/sanitizer/use_after_free_1.c
@@ -9,6 +9,7 @@
// UNSUPPORTED: nvidiagpu
//
// REQUIRES: gpu
+// XFAIL: intelgpu
#include <omp.h>
diff --git a/offload/test/sanitizer/use_after_free_2.c b/offload/test/sanitizer/use_after_free_2.c
index 3d70fb7b3a3fc..ece0cfe60875d 100644
--- a/offload/test/sanitizer/use_after_free_2.c
+++ b/offload/test/sanitizer/use_after_free_2.c
@@ -7,6 +7,7 @@
// UNSUPPORTED: nvidiagpu
//
// REQUIRES: gpu
+// XFAIL: intelgpu
// If offload memory pooling is enabled for a large allocation, reuse error is
// not detected. UNSUPPORTED: large_allocation_memory_pool
diff --git a/offload/test/tools/llvm-omp-device-info.c b/offload/test/tools/llvm-omp-device-info.c
index 1ce8d4ac07f60..6900b79242b2a 100644
--- a/offload/test/tools/llvm-omp-device-info.c
+++ b/offload/test/tools/llvm-omp-device-info.c
@@ -1,4 +1,5 @@
// RUN: %offload-device-info | %fcheck-generic
+// XFAIL: intelgpu
//
// Just check any device was found and something is printed
//
diff --git a/offload/test/unified_shared_memory/api.c b/offload/test/unified_shared_memory/api.c
index b938971b4b03c..243060b4e55d0 100644
--- a/offload/test/unified_shared_memory/api.c
+++ b/offload/test/unified_shared_memory/api.c
@@ -5,6 +5,7 @@
// XFAIL: nvptx64-nvidia-cuda-LTO
// REQUIRES: unified_shared_memory
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/unified_shared_memory/associate_ptr.c b/offload/test/unified_shared_memory/associate_ptr.c
index 0e9d25cd73546..08975ebef0025 100644
--- a/offload/test/unified_shared_memory/associate_ptr.c
+++ b/offload/test/unified_shared_memory/associate_ptr.c
@@ -2,6 +2,7 @@
// REQUIRES: unified_shared_memory
// UNSUPPORTED: clang-6, clang-7, clang-8, clang-9
+// XFAIL: intelgpu
#include <assert.h>
#include <omp.h>
diff --git a/offload/test/unified_shared_memory/close_enter_exit.c b/offload/test/unified_shared_memory/close_enter_exit.c
index b116c652f47e9..f040039f6b1a0 100644
--- a/offload/test/unified_shared_memory/close_enter_exit.c
+++ b/offload/test/unified_shared_memory/close_enter_exit.c
@@ -8,6 +8,7 @@
// Fails on nvptx with error: an illegal memory access was encountered
// XFAIL: nvptx64-nvidia-cuda
// XFAIL: nvptx64-nvidia-cuda-LTO
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/unified_shared_memory/close_manual.c b/offload/test/unified_shared_memory/close_manual.c
index c588cb1c403a7..d3f513c333e8d 100644
--- a/offload/test/unified_shared_memory/close_manual.c
+++ b/offload/test/unified_shared_memory/close_manual.c
@@ -1,6 +1,7 @@
// RUN: %libomptarget-compile-run-and-check-generic
// REQUIRES: unified_shared_memory
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/unified_shared_memory/close_member.c b/offload/test/unified_shared_memory/close_member.c
index 10ec42e90b02b..d4743a5872310 100644
--- a/offload/test/unified_shared_memory/close_member.c
+++ b/offload/test/unified_shared_memory/close_member.c
@@ -2,6 +2,7 @@
// REQUIRES: unified_shared_memory
// UNSUPPORTED: clang-6, clang-7, clang-8, clang-9
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/unified_shared_memory/close_modifier.c b/offload/test/unified_shared_memory/close_modifier.c
index 7ca815db3ad82..aaa45c1a5d8a8 100644
--- a/offload/test/unified_shared_memory/close_modifier.c
+++ b/offload/test/unified_shared_memory/close_modifier.c
@@ -8,6 +8,7 @@
// UNSUPPORTED: amdgcn-amd-amdhsa
// UNSUPPORTED: nvptx64-nvidia-cuda
// UNSUPPORTED: nvptx64-nvidia-cuda-LTO
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/unified_shared_memory/shared_update.c b/offload/test/unified_shared_memory/shared_update.c
index f8eb11d56a6ca..24e9b3b23083c 100644
--- a/offload/test/unified_shared_memory/shared_update.c
+++ b/offload/test/unified_shared_memory/shared_update.c
@@ -7,6 +7,7 @@
// UNSUPPORTED: amdgcn-amd-amdhsa
// UNSUPPORTED: nvptx64-nvidia-cuda
// UNSUPPORTED: nvptx64-nvidia-cuda-LTO
+// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
>From bbce611fda4d199052c9907fe73976d5f348ce7a Mon Sep 17 00:00:00 2001
From: Nick Sarnie <nick.sarnie at intel.com>
Date: Wed, 7 Jan 2026 11:07:57 -0800
Subject: [PATCH 2/2] address feedback
Signed-off-by: Nick Sarnie <nick.sarnie at intel.com>
---
offload/test/mapping/map_ptr_and_star_local.c | 1 -
offload/test/mapping/map_structptr_and_member_global.c | 1 -
offload/test/mapping/map_structptr_and_member_local.c | 1 -
offload/test/offloading/interop.c | 3 +--
4 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/offload/test/mapping/map_ptr_and_star_local.c b/offload/test/mapping/map_ptr_and_star_local.c
index 1b939fd227fe4..f8962d1beffc4 100644
--- a/offload/test/mapping/map_ptr_and_star_local.c
+++ b/offload/test/mapping/map_ptr_and_star_local.c
@@ -4,7 +4,6 @@
//
// FIXME: https://github.com/llvm/llvm-project/issues/161265
// XFAIL: gpu
-// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/mapping/map_structptr_and_member_global.c b/offload/test/mapping/map_structptr_and_member_global.c
index 5576e1df89d94..7336b7c85ca1d 100644
--- a/offload/test/mapping/map_structptr_and_member_global.c
+++ b/offload/test/mapping/map_structptr_and_member_global.c
@@ -4,7 +4,6 @@
//
// FIXME: https://github.com/llvm/llvm-project/issues/161265
// XFAIL: gpu
-// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/mapping/map_structptr_and_member_local.c b/offload/test/mapping/map_structptr_and_member_local.c
index 0770ae24b62d2..5936a7c73d48f 100644
--- a/offload/test/mapping/map_structptr_and_member_local.c
+++ b/offload/test/mapping/map_structptr_and_member_local.c
@@ -4,7 +4,6 @@
//
// FIXME: https://github.com/llvm/llvm-project/issues/161265
// XFAIL: gpu
-// XFAIL: intelgpu
#include <omp.h>
#include <stdio.h>
diff --git a/offload/test/offloading/interop.c b/offload/test/offloading/interop.c
index b7a5b5756d56d..7e431473a3648 100644
--- a/offload/test/offloading/interop.c
+++ b/offload/test/offloading/interop.c
@@ -1,7 +1,6 @@
// RUN: %libomptarget-compile-run-and-check-generic
-// XFAIL: *
-// UNSUPPORTED: intelgpu
+// XFAIL: !intelgpu
#include <assert.h>
#include <omp.h>
More information about the llvm-commits
mailing list