[all-commits] [llvm/llvm-project] 06da9b: [OpenMP] Extend the lit test for uses_allocators i...

Animesh Kumar via All-commits all-commits at lists.llvm.org
Fri Oct 14 06:43:18 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 06da9b94ae374f81a0898b01608c1c3529dfa29a
      https://github.com/llvm/llvm-project/commit/06da9b94ae374f81a0898b01608c1c3529dfa29a
  Author: Animesh Kumar <animesh.kumar at amd.com>
  Date:   2022-10-14 (Fri, 14 Oct 2022)

  Changed paths:
    M clang/test/OpenMP/target_map_codegen_10.cpp
    M clang/test/OpenMP/target_uses_allocators.c

  Log Message:
  -----------
  [OpenMP] Extend the lit test for uses_allocators in target region

This patch improves the LIT tests on the following :

1. The test on `uses_allocators` clause in the `target` region by
adding the respective CHECK lines. Allocator `omp_thread_mem_alloc`
is also added in the test.
2. The `defaultmap` clause wasn't being tested for the variable-
category `scalar` and the implicit-behavior `tofrom` with respect
to the OpenMP default version.

These improvements are inspired from SOLLVE tests.
SOLLVE repo: https://github.com/SOLLVE/sollve_vv

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D132855




More information about the All-commits mailing list