[OPENMP] Propagate alignment from original variables to the private copies.
authorAlexey Bataev <a.bataev@hotmail.com>
Thu, 10 Sep 2015 09:48:30 +0000 (09:48 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Thu, 10 Sep 2015 09:48:30 +0000 (09:48 +0000)
commit1d7f0faf93eefa7624b611cd0636a2f62f44efe9
tree1c81b331267b5078e4e5e37229e92424f687fc9d
parent9e1c0c15004a3a059586cd013177abe332dfb491
[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.

llvm-svn: 247260
clang/lib/Sema/SemaOpenMP.cpp
clang/test/OpenMP/for_lastprivate_codegen.cpp
clang/test/OpenMP/parallel_copyin_codegen.cpp
clang/test/OpenMP/parallel_firstprivate_codegen.cpp
clang/test/OpenMP/parallel_private_codegen.cpp
clang/test/OpenMP/parallel_reduction_codegen.cpp