diff options
author | Jonas Hahnfeld <hahnjo@hahnjo.de> | 2018-10-02 19:12:54 +0000 |
---|---|---|
committer | Jonas Hahnfeld <hahnjo@hahnjo.de> | 2018-10-02 19:12:54 +0000 |
commit | 3ca4701d357d838800c62698e27da55847c9a517 (patch) | |
tree | 86e78fafeaeaac23b96319dad87b8eb5edc0cb31 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | |
parent | 5aaaecea7c9dfc0078465e55dafcfa9e619e8eee (diff) | |
download | llvm-3ca4701d357d838800c62698e27da55847c9a517.zip llvm-3ca4701d357d838800c62698e27da55847c9a517.tar.gz llvm-3ca4701d357d838800c62698e27da55847c9a517.tar.bz2 |
[OpenMP][NVPTX] Simplify codegen for orphaned parallel, NFCI.
Worker threads fork off to the compiler generated worker function
directly after entering the kernel function. Hence, there is no
need to check whether the current thread is the master if we are
outside of a parallel region (neither SPMD nor parallel_level > 0).
Differential Revision: https://reviews.llvm.org/D52732
llvm-svn: 343618
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions