summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/FuzzerTracePC.cpp
diff options
context:
space:
mode:
authorCarlo Bertolli <cbertol@us.ibm.com>2017-01-03 18:24:42 +0000
committerCarlo Bertolli <cbertol@us.ibm.com>2017-01-03 18:24:42 +0000
commit962bb807ecf08e27c0d4b4c4e08fcf10d4446a5d (patch)
tree134a1214e8ed5c4b7dcbf9b16bdb8750a439a05f /llvm/lib/Fuzzer/FuzzerTracePC.cpp
parent21c12044d29b8bd873c3f9803f441e79560f1742 (diff)
downloadbcm5719-llvm-962bb807ecf08e27c0d4b4c4e08fcf10d4446a5d.tar.gz
bcm5719-llvm-962bb807ecf08e27c0d4b4c4e08fcf10d4446a5d.zip
[OPENMP] Private, firstprivate, and lastprivate clauses for distribute, host code generation
https://reviews.llvm.org/D17840 This patch enables private, firstprivate, and lastprivate clauses for the OpenMP distribute directive. Regression tests differ from the similar case of the same clauses on the for directive, by removing a reference to two global variables g and g1. This is necessary because: 1. a distribute pragma is only allowed inside a target region; 2. referring a global variable (e.g. g and g1) in a target region requires the program to enclose the variable in a "declare target" region; 3. declare target pragmas, which are used to define a declare target region, are currently unavailable in clang (patch being prepared). For this reason, I moved the global declarations into local variables. llvm-svn: 290898
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerTracePC.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud