-
- Downloads
[OPENMP] Fix for LCV in simd directives in explicit clauses.
If loop control variable for simd-based directives is explicitly marked as linear/lastprivate in clauses, codegen for such construct would crash. Patch fixes this problem. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@267101 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- lib/CodeGen/CGStmtOpenMP.cpp 125 additions, 84 deletionslib/CodeGen/CGStmtOpenMP.cpp
- lib/CodeGen/CodeGenFunction.h 13 additions, 1 deletionlib/CodeGen/CodeGenFunction.h
- lib/Sema/SemaOpenMP.cpp 66 additions, 29 deletionslib/Sema/SemaOpenMP.cpp
- test/OpenMP/for_lastprivate_codegen.cpp 0 additions, 3 deletionstest/OpenMP/for_lastprivate_codegen.cpp
- test/OpenMP/for_simd_codegen.cpp 4 additions, 3 deletionstest/OpenMP/for_simd_codegen.cpp
- test/OpenMP/loops_explicit_clauses_codegen.cpp 162 additions, 0 deletionstest/OpenMP/loops_explicit_clauses_codegen.cpp
- test/OpenMP/simd_codegen.cpp 5 additions, 3 deletionstest/OpenMP/simd_codegen.cpp
Loading
Please register or sign in to comment