]> granicus.if.org Git - clang/commit
[OPENMP] Fixed codegen for firstprivate variables, also marked as lastprivate.
authorAlexey Bataev <a.bataev@hotmail.com>
Wed, 13 May 2015 10:23:02 +0000 (10:23 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Wed, 13 May 2015 10:23:02 +0000 (10:23 +0000)
commit4fba977c9548deb9c03f37a36599b721f10c0d12
tree7a1111f712816c2c7b2452f42130005c84157c2a
parent6d4764d315b53da39def2c13fa546a407a41c38f
[OPENMP] Fixed codegen for firstprivate variables, also marked as lastprivate.

In some rare cases shared copies of lastprivate/firstprivate variables were not updated after the loop directive.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@237243 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGStmtOpenMP.cpp
test/OpenMP/for_lastprivate_codegen.cpp