[all-commits] [llvm/llvm-project] dedcda: [OpenMP][Tests][NFC] Fix libarcher tests for GCC

Joachim via All-commits all-commits at lists.llvm.org
Tue May 23 01:35:15 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dedcda45c4fc3bdf8b702e5ee7b943f4c0908ae6
      https://github.com/llvm/llvm-project/commit/dedcda45c4fc3bdf8b702e5ee7b943f4c0908ae6
  Author: Joachim Jenke <jenke at itc.rwth-aachen.de>
  Date:   2023-05-23 (Tue, 23 May 2023)

  Changed paths:
    M openmp/tools/archer/tests/races/critical-unrelated.c
    M openmp/tools/archer/tests/races/lock-nested-unrelated.c
    M openmp/tools/archer/tests/races/lock-unrelated.c
    M openmp/tools/archer/tests/races/parallel-simple.c

  Log Message:
  -----------
  [OpenMP][Tests][NFC] Fix libarcher tests for GCC

TSan in GCC filters duplicates less aggressively. With 8 threads we can
expect reports for up to 7 pairs of data race in some tests.

Tests pass now with GCC 10, 11, 12


  Commit: 39a959eac793ee43008d6755206b6684fc11872d
      https://github.com/llvm/llvm-project/commit/39a959eac793ee43008d6755206b6684fc11872d
  Author: Joachim Jenke <jenke at itc.rwth-aachen.de>
  Date:   2023-05-23 (Tue, 23 May 2023)

  Changed paths:
    M openmp/runtime/test/ompt/teams/distribute_dispatch.c
    M openmp/runtime/test/ompt/worksharing/sections_dispatch.c

  Log Message:
  -----------
  [OpenMP][Tests][NFC] Mark unsupported OMPT tests for GCC

Codegen for some OpenMP directives is different from clang, so some
OMPT tests fail. As we don't expect GCC codegen to change significantly,
we mark the tests as unsupported for GCC.

OMPT Tests pass now with GCC 10, 11, 12


  Commit: fe7f620ed6e30015267d131bb753fd408bb3dd8c
      https://github.com/llvm/llvm-project/commit/fe7f620ed6e30015267d131bb753fd408bb3dd8c
  Author: Joachim Jenke <jenke at itc.rwth-aachen.de>
  Date:   2023-05-23 (Tue, 23 May 2023)

  Changed paths:
    M openmp/runtime/test/parallel/bug54082.c
    M openmp/runtime/test/parallel/omp_parallel_if.c
    M openmp/runtime/test/tasking/hidden_helper_task/single_helper_thread.c
    M openmp/runtime/test/teams/teams-distr-on-host.c
    M openmp/runtime/test/teams/teams_resize.c
    M openmp/runtime/test/worksharing/for/omp_for_collapse_non_rectangular.c
    M openmp/runtime/test/worksharing/for/omp_for_non_rectangular.c

  Log Message:
  -----------
  [OpenMP][Tests][NFC] Mark unsupported libomp tests for GCC

This patch properly marks the support level for libomp test when testing with
GCC.

Some new OpenMP features were only introduced with GCC 11.
Tests using the target construct are incompatibe with GCC.

Tests pass now with GCC 10, 11, 12


Compare: https://github.com/llvm/llvm-project/compare/910af0e79e4d...fe7f620ed6e3


More information about the All-commits mailing list