[OPENMP] Propagate alignment from original variables to the private copies.
Currently private copies of captured variables have default alignment. Patch makes private variables to have same alignment as original variables. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@247260 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- lib/Sema/SemaOpenMP.cpp 37 additions, 17 deletionslib/Sema/SemaOpenMP.cpp
- test/OpenMP/for_lastprivate_codegen.cpp 11 additions, 11 deletionstest/OpenMP/for_lastprivate_codegen.cpp
- test/OpenMP/parallel_copyin_codegen.cpp 16 additions, 16 deletionstest/OpenMP/parallel_copyin_codegen.cpp
- test/OpenMP/parallel_firstprivate_codegen.cpp 13 additions, 13 deletionstest/OpenMP/parallel_firstprivate_codegen.cpp
- test/OpenMP/parallel_private_codegen.cpp 11 additions, 11 deletionstest/OpenMP/parallel_private_codegen.cpp
- test/OpenMP/parallel_reduction_codegen.cpp 12 additions, 12 deletionstest/OpenMP/parallel_reduction_codegen.cpp
Loading
Please register or sign in to comment