[PATCH] D38040: [OpenMP] Add an additional test for D34888

Jonas Hahnfeld via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 21 13:46:50 PDT 2017


Hahnfeld added a comment.

Hi Doru,

if I remember correctly I submitted https://reviews.llvm.org/D34888 for a crash when mapping a scalar value with nested regions.
I've marked another test in this file that the codegen for `tofrom` is correct. So I don't know if this test checks some other conditions?

Jonas



================
Comment at: test/OpenMP/target_map_codegen.cpp:1773
   // CK19: call void [[CALL23:@.+]](i32* {{[^,]+}})
   #pragma omp target map(always, tofrom: a)
   {
----------------
`tofrom` is tested here...


Repository:
  rL LLVM

https://reviews.llvm.org/D38040





More information about the cfe-commits mailing list