35 changes: 35 additions & 0 deletions openmp/runtime/test/parallel/omp_dtor_parallel_dtor.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
// RUN: %libomp-cxx-compile
// RUN: %libomp-run

// XFAIL: irbuilder

#include <stddef.h>
#include <stdio.h>
#include <omp.h>

struct Destructible {
int &Ref;
int Count;
Destructible(int &Ref, int Count) : Ref(Ref), Count(Count) {}
~Destructible() { Ref += Count; }
};

int main() {
int common = 0;
int result[2] = {0, 0};

Destructible dtor1{common, 1};

#pragma omp parallel num_threads(2)
{
int tid = omp_get_thread_num();
Destructible dtor2{result[tid], 1};
}

if (common == 0 && result[0] == 1 && result[1] == 1) {
printf("SUCCESS\n");
return EXIT_SUCCESS;
}
printf("FAILED (%d, %d, %d)\n", common, result[0], result[1]);
return EXIT_FAILURE;
}
2 changes: 2 additions & 0 deletions openmp/runtime/test/parallel/omp_parallel_copyin.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// RUN: %libomp-compile-and-run
// XFAIL: irbuilder

#include <stdio.h>
#include <stdlib.h>
#include "omp_testsuite.h"
Expand Down
2 changes: 2 additions & 0 deletions openmp/runtime/test/parallel/omp_parallel_default.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// RUN: %libomp-compile-and-run
// XFAIL: irbuilder

#include <stdio.h>
#include "omp_testsuite.h"

Expand Down
2 changes: 2 additions & 0 deletions openmp/runtime/test/parallel/omp_parallel_firstprivate.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// RUN: %libomp-compile-and-run
// XFAIL: irbuilder

#include <stdio.h>
#include <stdlib.h>
#include "omp_testsuite.h"
Expand Down
34 changes: 34 additions & 0 deletions openmp/runtime/test/parallel/omp_parallel_goto.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
// RUN: %libomp-compile
// RUN: %libomp-run

// XFAIL: irbuilder

#include <stddef.h>
#include <stdio.h>
#include <omp.h>

int main() {
int result[] = {0, 0};

#pragma omp parallel num_threads(2)
{
int tid = omp_get_thread_num();
result[tid] += 1;
goto cont;

orphaned:
result[tid] += 2;
printf("Never executed\n");

cont:
result[tid] += 4;
}

if (result[0] == 5 && result[1] == 5) {
printf("SUCCESS\n");
return EXIT_SUCCESS;
}

printf("FAILED\n");
return EXIT_FAILURE;
}
2 changes: 2 additions & 0 deletions openmp/runtime/test/parallel/omp_parallel_if.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// RUN: %libomp-compile-and-run
// XFAIL: irbuilder

#include <stdio.h>
#include "omp_testsuite.h"

Expand Down
2 changes: 2 additions & 0 deletions openmp/runtime/test/parallel/omp_parallel_private.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// RUN: %libomp-compile-and-run
// XFAIL: irbuilder

#include <stdio.h>
#include <stdlib.h>
#include "omp_testsuite.h"
Expand Down
2 changes: 2 additions & 0 deletions openmp/runtime/test/parallel/omp_parallel_shared.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// RUN: %libomp-compile-and-run
// UNSUPPORTED: irbuilder

#include <stdio.h>
#include "omp_testsuite.h"

Expand Down
1 change: 1 addition & 0 deletions openmp/runtime/test/tasking/bug_taskwait_detach.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %libomp-cxx-compile-and-run
// XFAIL: irbuilder

#include <omp.h>

Expand Down
1 change: 1 addition & 0 deletions openmp/runtime/test/tasking/hidden_helper_task/gtid.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// RUN: %libomp-cxx-compile-and-run
// RUN: %libomp-cxx-compile && env OMP_NUM_THREADS=1 %libomp-run
// XFAIL: irbuilder

/*
* This test aims to check whether hidden helper thread has right gtid. We also
Expand Down
1 change: 1 addition & 0 deletions openmp/runtime/test/tasking/kmp_detach_tasks_t1.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// RUN: %libomp-compile && env OMP_NUM_THREADS='3' %libomp-run
// RUN: %libomp-compile && env OMP_NUM_THREADS='1' %libomp-run
// XFAIL: irbuilder

#include <stdio.h>
#include <omp.h>
Expand Down
1 change: 1 addition & 0 deletions openmp/runtime/test/tasking/kmp_detach_tasks_t2.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// RUN: %libomp-compile && env OMP_NUM_THREADS='3' %libomp-run
// RUN: %libomp-compile && env OMP_NUM_THREADS='1' %libomp-run
// XFAIL: irbuilder

#include <stdio.h>
#include <omp.h>
Expand Down
1 change: 1 addition & 0 deletions openmp/runtime/test/tasking/kmp_detach_tasks_t3.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// RUN: %libomp-compile && env OMP_NUM_THREADS='1' %libomp-run
// The runtime currently does not get dependency information from GCC.
// UNSUPPORTED: gcc
// XFAIL: irbuilder

#include <stdio.h>
#include <omp.h>
Expand Down
1 change: 1 addition & 0 deletions openmp/runtime/test/tasking/kmp_task_depend_all.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// RUN: %libomp-compile-and-run
// The runtime currently does not get dependency information from GCC.
// UNSUPPORTED: gcc
// XFAIL: irbuilder

// Tests OMP 5.x task dependence "omp_all_memory",
// emulates compiler codegen versions for new dep kind
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %libomp-cxx-compile-and-run
// XFAIL: irbuilder

#include <stdio.h>
#include <omp.h>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %libomp-cxx-compile-and-run
// XFAIL: irbuilder

#include <stdio.h>
#include <omp.h>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %libomp-cxx-compile-and-run
// XFAIL: irbuilder

#include <stdio.h>
#include <omp.h>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %libomp-cxx-compile-and-run
// XFAIL: irbuilder

#include <stdio.h>
#include <omp.h>
Expand Down
3 changes: 2 additions & 1 deletion openmp/runtime/test/tasking/kmp_task_reduction_nest.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// RUN: %libomp-cxx-compile-and-run
// RUN: %libomp-cxx-compile -DFLG=1 && %libomp-run
// GCC-5 is needed for OpenMP 4.0 support (taskgroup)
// XFAIL: gcc-4
// XFAIL: gcc-4,irbuilder

#include <cstdio>
#include <cmath>
#include <cassert>
Expand Down
2 changes: 2 additions & 0 deletions openmp/runtime/test/tasking/kmp_taskloop.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// RUN: %libomp-compile-and-run
// RUN: %libomp-compile && env KMP_TASKLOOP_MIN_TASKS=1 %libomp-run
// XFAIL: irbuilder

#include <stdio.h>
#include <omp.h>
#include "omp_my_sleep.h"
Expand Down
1 change: 1 addition & 0 deletions openmp/runtime/test/tasking/kmp_taskloop_5.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// RUN: %libomp-compile-and-run
// RUN: %libomp-compile && env KMP_TASKLOOP_MIN_TASKS=1 %libomp-run
// XFAIL: irbuilder

#include <stdio.h>
#include <omp.h>
Expand Down
1 change: 1 addition & 0 deletions openmp/runtime/test/tasking/kmp_taskwait_depend_all.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// RUN: %libomp-compile-and-run
// The runtime currently does not get dependency information from GCC.
// UNSUPPORTED: gcc
// XFAIL: irbuilder

// Tests OMP 5.x task dependence "omp_all_memory",
// emulates compiler codegen versions for new dep kind
Expand Down
1 change: 1 addition & 0 deletions openmp/runtime/test/tasking/kmp_taskwait_depend_in.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %libomp-compile-and-run
// XFAIL: irbuilder

// test checks IN dep kind in depend clause on taskwait construct
// uses codegen emulation
Expand Down
1 change: 1 addition & 0 deletions openmp/runtime/test/tasking/kmp_taskwait_nowait.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %libomp-compile-and-run
// XFAIL: irbuilder

// test checks IN dep kind in depend clause on taskwait nowait
// uses codegen emulation
Expand Down
1 change: 1 addition & 0 deletions openmp/runtime/test/tasking/omp50_task_depend_mtx.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %libomp-compile-and-run
// XFAIL: irbuilder

// Tests OMP 5.0 task dependences "mutexinoutset", emulates compiler codegen
// Mutually exclusive tasks get same input dependency info array
Expand Down
1 change: 1 addition & 0 deletions openmp/runtime/test/tasking/omp50_task_depend_mtx2.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %libomp-compile-and-run
// XFAIL: irbuilder

// Tests OMP 5.0 task dependences "mutexinoutset", emulates compiler codegen
// Mutually exclusive tasks get input dependency info array sorted differently
Expand Down
2 changes: 1 addition & 1 deletion openmp/runtime/test/tasking/omp50_task_depend_mtx3.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// UNSUPPORTED: gcc-4, gcc-5, gcc-6, gcc-7, gcc-8
// UNSUPPORTED: clang-3, clang-4, clang-5, clang-6, clang-7, clang-8
// TODO: update expected result when icc supports mutexinoutset
// XFAIL: icc
// XFAIL: icc,irbuilder

// Tests OMP 5.0 task dependences "mutexinoutset", emulates compiler codegen
// Mutually exclusive tasks get same input dependency info array
Expand Down
1 change: 1 addition & 0 deletions openmp/runtime/test/tasking/omp50_taskdep_depobj.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// UNSUPPORTED: gcc-5, gcc-6, gcc-7, gcc-8
// UNSUPPORTED: clang-5, clang-6, clang-7, clang-8, clang-9, clang-10
// UNSUPPORTED: icc
// XFAIL: irbuilder

#include <stdio.h>
#include <stdlib.h>
Expand Down
1 change: 1 addition & 0 deletions openmp/runtime/test/tasking/omp50_taskwait_depend.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// support for taskwait with depend clause introduced in clang-14
// UNSUPPORTED: clang-5, clang-6, clang-6, clang-8, clang-9, clang-10, clang-11,
// clang-12, clang-13
// XFAIL: irbuilder

// icc does not yet support taskwait with depend clause
// XFAIL: icc
Expand Down
1 change: 1 addition & 0 deletions openmp/runtime/test/tasking/omp51_task_dep_inoutset.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// RUN: %libomp-compile-and-run
// RUN: %libomp-cxx-compile-and-run
// UNSUPPORTED: gcc
// XFAIL: irbuilder

// Tests OMP 5.0 task dependences "mutexinoutset" and 5.1 "inoutset",
// emulates compiler codegen for new dep kinds
Expand Down
1 change: 1 addition & 0 deletions openmp/runtime/test/tasking/omp_detach_taskwait.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// RUN: %libomp-compile && env OMP_NUM_THREADS='3' %libomp-run
// RUN: %libomp-compile && env OMP_NUM_THREADS='1' %libomp-run
// XFAIL: irbuilder

// Checked gcc 10.1 still does not support detach clause on task construct.
// UNSUPPORTED: gcc-4, gcc-5, gcc-6, gcc-7, gcc-8, gcc-9, gcc-10
Expand Down
2 changes: 2 additions & 0 deletions openmp/runtime/test/tasking/omp_task_imp_firstprivate.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// RUN: %libomp-compile-and-run
// XFAIL: irbuilder

#include <stdio.h>
#include <math.h>
#include "omp_testsuite.h"
Expand Down
1 change: 1 addition & 0 deletions openmp/runtime/test/tasking/omp_taskwait.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %libomp-compile-and-run
// XFAIL: irbuilder

// This test is known to be fragile on NetBSD kernel at the moment,
// https://bugs.llvm.org/show_bug.cgi?id=42020.
Expand Down
2 changes: 1 addition & 1 deletion openmp/runtime/test/tasking/task_reduction3.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %libomp-compile-and-run

// XFAIL: icc
// XFAIL: icc, irbuilder
// UNSUPPORTED: clang-4, clang-5, clang-6, clang-7, clang-8, clang-9, clang-10
// UNSUPPORTED: gcc-4, gcc-5, gcc-6, gcc-7, gcc-8

Expand Down
2 changes: 1 addition & 1 deletion openmp/runtime/test/tasking/task_reduction4.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %libomp-compile-and-run

// XFAIL: icc
// XFAIL: icc, irbuilder
// UNSUPPORTED: clang-4, clang-5, clang-6, clang-7, clang-8, clang-9, clang-10
// UNSUPPORTED: gcc-4, gcc-5, gcc-6, gcc-7, gcc-8

Expand Down
1 change: 1 addition & 0 deletions openmp/runtime/test/tasking/taskdep_if0_2.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %libomp-compile-and-run
// XFAIL: irbuilder

#include <stdio.h>
#include <stdlib.h>
Expand Down
1 change: 1 addition & 0 deletions openmp/runtime/test/teams/kmp_num_teams.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// RUN: %libomp-compile-and-run
// UNSUPPORTED: gcc
// XFAIL: irbuilder
// Linking fails for icc 18/19
// UNSUPPORTED: icc-18, icc-19

Expand Down
2 changes: 2 additions & 0 deletions openmp/runtime/test/threadprivate/omp_threadprivate.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// RUN: %libomp-compile-and-run
// UNSUPPORTED: irbuilder

/*
* Threadprivate is tested in 2 ways:
* 1. The global variable declared as threadprivate should have
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %libomp-compile-and-run
// XFAIL: irbuilder

// The test checks schedule(simd:runtime)
// in combination with omp_set_schedule()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
// RUN: env OMP_SCHEDULE=dynamic,1 %libomp-run 1
// RUN: env OMP_SCHEDULE=dynamic,2 %libomp-run 2
// RUN: env OMP_SCHEDULE=auto %libomp-run
// XFAIL: irbuilder

// The test checks schedule(simd:runtime)
// in combination with OMP_SCHEDULE=guided[,chunk]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// RUN: %libomp-compile && %libomp-run
// RUN: %libomp-run 1 && %libomp-run 2
// XFAIL: irbuilder

// The test checks schedule(simd:runtime)
// in combination with OMP_SCHEDULE=static[,chunk]
Expand Down
2 changes: 2 additions & 0 deletions openmp/runtime/test/worksharing/for/omp_for_collapse.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// RUN: %libomp-compile-and-run
// UNSUPPORTED: irbuilder

#include <stdio.h>
#include <math.h>
#include "omp_testsuite.h"
Expand Down
25 changes: 25 additions & 0 deletions openmp/runtime/test/worksharing/for/omp_parallel_for_static.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// RUN: %libomp-compile
// RUN: %libomp-run

#include <stddef.h>
#include <stdio.h>
#include <omp.h>

int main() {
int result[2] = {0, 0};

#pragma omp parallel num_threads(2)
{
int tid = omp_get_thread_num();
#pragma omp for schedule(static)
for (int i = 0; i < 6; i += 1)
result[tid] += 1 << i;
}

if (result[0] == 1 + 2 + 4 && result[1] == 8 + 16 + 32) {
printf("SUCCESS\n");
return EXIT_SUCCESS;
}
printf("FAILED\n");
return EXIT_FAILURE;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// RUN: %libomp-compile
// RUN: %libomp-run

#include <stddef.h>
#include <stdio.h>
#include <omp.h>

int main() {
int result[2] = {0, 0};

#pragma omp parallel num_threads(2)
{
int tid = omp_get_thread_num();
#pragma omp for schedule(static, 3)
for (int i = 0; i < 10; i += 1)
result[tid] += 1 << i;
}

if (result[0] == 1 + 2 + 4 + 64 + 128 + 256 &&
result[1] == 8 + 16 + 32 + 512) {
printf("SUCCESS\n");
return EXIT_SUCCESS;
}
printf("FAILED\n");
return EXIT_FAILURE;
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// RUN: %libomp-compile-and-run
// XFAIL: irbuilder

#include <stdio.h>
#include "omp_testsuite.h"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// RUN: %libomp-compile-and-run
// UNSUPPORTED: irbuilder

#include <stdio.h>
#include "omp_testsuite.h"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// RUN: %libomp-compile-and-run
// UNSUPPORTED: irbuilder

#include <stdio.h>
#include "omp_testsuite.h"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// RUN: %libomp-compile-and-run
// UNSUPPORTED: irbuilder

#include <stdio.h>
#include <math.h>
#include "omp_testsuite.h"
Expand Down
2 changes: 2 additions & 0 deletions openmp/runtime/test/worksharing/single/omp_single.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// RUN: %libomp-compile-and-run
// UNSUPPORTED: irbuilder

#include <stdio.h>
#include "omp_testsuite.h"

Expand Down
2 changes: 2 additions & 0 deletions openmp/runtime/test/worksharing/single/omp_single_private.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// RUN: %libomp-compile-and-run
// XFAIL: irbuilder

#include <stdio.h>
#include "omp_testsuite.h"

Expand Down
4 changes: 4 additions & 0 deletions openmp/tools/archer/tests/lit.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import os
import re
import subprocess
import lit.formats
import shlex

# Tell pylint that we know config and lit_config exist somewhere.
if 'PYLINT_IMPORT' in os.environ:
Expand Down Expand Up @@ -49,6 +50,9 @@ config.test_flags = " -I " + config.test_source_root + \
" " + config.test_archer_flags + \
" " + config.test_extra_flags

if "-fopenmp-enable-irbuilder" in (shlex.split(config.test_openmp_flags) + shlex.split(config.test_flags)):
config.available_features.add("irbuilder")

config.archer_flags = "-g -O1 -fsanitize=thread"


Expand Down
2 changes: 2 additions & 0 deletions openmp/tools/archer/tests/parallel/parallel-firstprivate.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

// RUN: %libarcher-compile-and-run | FileCheck %s
// REQUIRES: tsan
// XFAIL: irbuilder

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

Expand Down
2 changes: 2 additions & 0 deletions openmp/tools/archer/tests/races/task-dependency.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
// RUN: %libarcher-compile-and-run-race | FileCheck %s
// RUN: %libarcher-compile-and-run-race-noserial | FileCheck %s
// REQUIRES: tsan
// XFAIL: irbuilder

#include "ompt/ompt-signal.h"
#include <omp.h>
#include <stdio.h>
Expand Down
2 changes: 2 additions & 0 deletions openmp/tools/archer/tests/races/task-taskgroup-unrelated.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
// RUN: %libarcher-compile-and-run-race | FileCheck %s
// RUN: %libarcher-compile-and-run-race-noserial | FileCheck %s
// REQUIRES: tsan
// XFAIL: irbuilder

#include "ompt/ompt-signal.h"
#include <omp.h>
#include <stdio.h>
Expand Down
2 changes: 2 additions & 0 deletions openmp/tools/archer/tests/races/task-taskwait-nested.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
// RUN: %libarcher-compile-and-run-race | FileCheck %s
// RUN: %libarcher-compile-and-run-race-noserial | FileCheck %s
// REQUIRES: tsan
// XFAIL: irbuilder

#include "ompt/ompt-signal.h"
#include <omp.h>
#include <stdio.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

// RUN: %libarcher-compile-and-run | FileCheck %s
// REQUIRES: tsan
// XFAIL: irbuilder

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

Expand Down
2 changes: 2 additions & 0 deletions openmp/tools/archer/tests/reduction/parallel-reduction.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

// RUN: %libarcher-compile-and-run| FileCheck %s
// REQUIRES: tsan
// XFAIL: irbuilder

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

Expand Down
2 changes: 2 additions & 0 deletions openmp/tools/archer/tests/task/task-dependency.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

// RUN: %libarcher-compile-and-run | FileCheck %s
// REQUIRES: tsan
// XFAIL: irbuilder

#include <omp.h>
#include <stdio.h>
#include <unistd.h>
Expand Down
2 changes: 2 additions & 0 deletions openmp/tools/archer/tests/task/task-taskwait-nested.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

// RUN: %libarcher-compile-and-run | FileCheck %s
// REQUIRES: tsan
// XFAIL: irbuilder

#include <omp.h>
#include <stdio.h>
#include <unistd.h>
Expand Down
2 changes: 2 additions & 0 deletions openmp/tools/archer/tests/task/task-taskwait.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

// RUN: %libarcher-compile-and-run | FileCheck %s
// REQUIRES: tsan
// XFAIL: irbuilder

#include <omp.h>
#include <stdio.h>
#include <unistd.h>
Expand Down
1 change: 1 addition & 0 deletions openmp/tools/archer/tests/task/task_late_fulfill.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
// icc compiler does not support detach clause.
// UNSUPPORTED: icc
// REQUIRES: tsan
// XFAIL: irbuilder

#include <omp.h>
#include <stdio.h>
Expand Down