summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Hahnfeld <hahnjo@hahnjo.de>2017-11-02 15:59:51 +0000
committerJonas Hahnfeld <hahnjo@hahnjo.de>2017-11-02 15:59:51 +0000
commit238a6b7f09421006b2b16db6ccd82a89a13b2ca2 (patch)
treec53a9bcf5809fc51bb7b0301cd65602939ca6142
parent82bade615b1cefb877f3ce58f57d48cf5e753a55 (diff)
downloadbcm5719-llvm-238a6b7f09421006b2b16db6ccd82a89a13b2ca2.tar.gz
bcm5719-llvm-238a6b7f09421006b2b16db6ccd82a89a13b2ca2.zip
[libomptarget] Remove stale omp handle
This was never used in the upstream compiler and was responsible for some problems with reductions in the clang-ykt fork. Differential Revision: https://reviews.llvm.org/D39553 llvm-svn: 317214
-rw-r--r--openmp/libomptarget/src/omptarget.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/openmp/libomptarget/src/omptarget.cpp b/openmp/libomptarget/src/omptarget.cpp
index 95e0e1ee2ba..ca1d41a28b2 100644
--- a/openmp/libomptarget/src/omptarget.cpp
+++ b/openmp/libomptarget/src/omptarget.cpp
@@ -2200,9 +2200,6 @@ static int target(int32_t device_id, void *host_ptr, int32_t arg_num,
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");
OpenPOWER on IntegriCloud