diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2018-05-25 20:16:03 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2018-05-25 20:16:03 +0000 |
commit | 0baba9e7287d5afc5bf163d954079bf2c4741fb3 (patch) | |
tree | 79653ee2df5ebe04bbdf846df42de15cde1f8ee7 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 8f77dcadffe06502027bdb2701cd3653ecca919b (diff) | |
download | bcm5719-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