summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2018-05-25 20:16:03 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2018-05-25 20:16:03 +0000
commit0baba9e7287d5afc5bf163d954079bf2c4741fb3 (patch)
tree79653ee2df5ebe04bbdf846df42de15cde1f8ee7 /clang/lib/Frontend/CompilerInvocation.cpp
parent8f77dcadffe06502027bdb2701cd3653ecca919b (diff)
downloadbcm5719-llvm-0baba9e7287d5afc5bf163d954079bf2c4741fb3.tar.gz
bcm5719-llvm-0baba9e7287d5afc5bf163d954079bf2c4741fb3.zip
[OPENMP, NVPTX] Fixed codegen for orphaned parallel region.
If orphaned parallel region is found, the next code must be emitted: ``` if(__kmpc_is_spmd_exec_mode() || __kmpc_parallel_level(loc, gtid)) Serialized execution. else if (IsMasterThread()) Prepare and signal worker. else Outined function call. ``` llvm-svn: 333301
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud