[OpenMP] Improve LIT tests on composite target constructs
authorAnimesh Kumar <animesh.kumar@amd.com>
Mon, 20 Feb 2023 09:26:28 +0000 (14:56 +0530)
committerAnimesh Kumar <animesh.kumar@amd.com>
Thu, 23 Feb 2023 04:45:16 +0000 (10:15 +0530)
commit265ea1c7459da95b7a1d30718ac9f970a3ecc8d1
treee0e2d48b46365beeb983cf45e49818b039f875a2
parentbc85cf1687435f28fb01b1aa5303317e6118490c
[OpenMP] Improve LIT tests on composite target constructs

This commit improves the "target_teams_distribute_paralle
l_for_simd_codegen.cpp" and "target_teams_distribute_redu
ction_codegen.cpp" tests based upon some of the execution
tests present in the SOLLVE tests. Based on SOLLVE, a new
test "target_task_affinity_codegen.cpp" is also being
added. These tests are required to be added because the
existing tests do not test the combination of directives
these will be testing.

Link to SOLLVE page: https://github.com/SOLLVE/sollve_vv

Differential Revision: https://reviews.llvm.org/D144544
clang/test/OpenMP/target_task_affinity_codegen.cpp [new file with mode: 0644]
clang/test/OpenMP/target_teams_distribute_parallel_for_simd_codegen.cpp
clang/test/OpenMP/target_teams_distribute_reduction_codegen.cpp