[all-commits] [llvm/llvm-project] 77c2b6: [OpenMP][Tests] Sync struct DEP with the runtime (...

Ilya Leoshkevich via All-commits all-commits at lists.llvm.org
Tue Oct 24 10:40:22 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 77c2b623ca4ce10ec1019b31706a055aad2580cd
      https://github.com/llvm/llvm-project/commit/77c2b623ca4ce10ec1019b31706a055aad2580cd
  Author: Ilya Leoshkevich <iii at linux.ibm.com>
  Date:   2023-10-24 (Tue, 24 Oct 2023)

  Changed paths:
    M openmp/runtime/test/tasking/kmp_detach_tasks_t3.c
    M openmp/runtime/test/tasking/kmp_taskwait_nowait.c
    M openmp/runtime/test/tasking/omp50_task_depend_mtx.c
    M openmp/runtime/test/tasking/omp50_task_depend_mtx2.c

  Log Message:
  -----------
  [OpenMP][Tests] Sync struct DEP with the runtime (#69982)

struct DEP defined in multiple testcases must correspond to runtime's
struct kmp_depend_info. The former defines flags as int, and the latter
as kmp_uint8_t. This discrepancy goes unnoticed on little-endian
systems, but breaks big-endian ones.

Make flags in struct DEP unsigned char.




More information about the All-commits mailing list