[OPENMP] Preserve alignment of the original variables for the captured references.
authorAlexey Bataev <a.bataev@hotmail.com>
Fri, 11 Sep 2015 10:29:41 +0000 (10:29 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Fri, 11 Sep 2015 10:29:41 +0000 (10:29 +0000)
commitc71a4099cf4609a6c2605dfcf0a2522b18233fbd
tree4fa4fb69423b485986282a2c86f8073a258e7269
parentc7776e41395ab49437c61eb0a64fc70c13a7d42a
[OPENMP] Preserve alignment of the original variables for the captured references.
Patch makes codegen to preserve alignment of the shared variables captured and used in OpenMP regions.

llvm-svn: 247401
clang/lib/CodeGen/CGExpr.cpp
clang/lib/CodeGen/CGOpenMPRuntime.cpp
clang/lib/CodeGen/CGStmtOpenMP.cpp
clang/test/OpenMP/parallel_firstprivate_codegen.cpp
clang/test/OpenMP/task_codegen.cpp
clang/test/OpenMP/task_firstprivate_codegen.cpp
clang/test/OpenMP/task_private_codegen.cpp