[OPENMP 4.0] Codegen for 'omp cancel' directive.
Add the next codegen for 'omp cancel' directive: if (__kmpc_cancel()) { __kmpc_cancel_barrier(); <exit construct>; } git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241429 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- lib/CodeGen/CGOpenMPRuntime.cpp 66 additions, 16 deletionslib/CodeGen/CGOpenMPRuntime.cpp
- lib/CodeGen/CGOpenMPRuntime.h 9 additions, 0 deletionslib/CodeGen/CGOpenMPRuntime.h
- lib/CodeGen/CGStmtOpenMP.cpp 2 additions, 1 deletionlib/CodeGen/CGStmtOpenMP.cpp
- test/OpenMP/cancel_codegen.cpp 95 additions, 0 deletionstest/OpenMP/cancel_codegen.cpp
Loading
Please register or sign in to comment