[Openmp-commits] [PATCH] D39553: [libomptarget] Remove stale omp handle

Jonas Hahnfeld via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Nov 2 08:06:22 PDT 2017


Hahnfeld created this revision.

This was never used in the upstream compiler and was responsible
for some problems with reductions in the clang-ykt fork.


https://reviews.llvm.org/D39553

Files:
  libomptarget/src/omptarget.cpp


Index: libomptarget/src/omptarget.cpp
===================================================================
--- libomptarget/src/omptarget.cpp
+++ libomptarget/src/omptarget.cpp
@@ -2200,9 +2200,6 @@
     tgt_args.push_back(TgtPtrBegin);
     tgt_offsets.push_back(TgtBaseOffset);
   }
-  // Push omp handle.
-  tgt_args.push_back((void *)0);
-  tgt_offsets.push_back(0);
 
   assert(tgt_args.size() == tgt_offsets.size() &&
       "Size mismatch in arguments and offsets");


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39553.121314.patch
Type: text/x-patch
Size: 473 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20171102/b06388e9/attachment.bin>


More information about the Openmp-commits mailing list