[Openmp-commits] [PATCH] D100673: [OPENMP]Fix PR49698: OpenMP declare mapper causes segmentation fault.

Alexey Bataev via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Apr 21 08:11:27 PDT 2021


ABataev added inline comments.


================
Comment at: openmp/libomptarget/test/mapping/declare_mapper_nested_default_mappers_complex_structure.cpp:123-126
+  assert(outer[1].arr[1].arr[0].data1 == 11 &&
+         outer[1].arr[1].arr[0].data2 == 22 &&
+         outer[1].arr[1].arr[1].data1 == 11 &&
+         outer[1].arr[1].arr[1].data2 == 22);
----------------
protze.joachim wrote:
> Do these asserts make sense with the assert in line 104?
Ah, just forgot to remove these lines, thanks!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100673/new/

https://reviews.llvm.org/D100673



More information about the Openmp-commits mailing list