]> granicus.if.org Git - clang/commit
[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)
commitd86ab907eb53a1d6df20eea091fd632fca886fe1
tree2f1ed0e9f473e23377dbb0c91a45afeec1b9f1fc
parentd2dc884a74b40711955713829e7a09b8ff5ca1bc
[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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@247401 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CGOpenMPRuntime.cpp
lib/CodeGen/CGStmtOpenMP.cpp
test/OpenMP/parallel_firstprivate_codegen.cpp
test/OpenMP/task_codegen.cpp
test/OpenMP/task_firstprivate_codegen.cpp
test/OpenMP/task_private_codegen.cpp