diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2018-11-21 19:41:10 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2018-11-21 19:41:10 +0000 |
commit | 92b33652f6b208cc8e5a1a39472f2549a45de76a (patch) | |
tree | 50fe70935073c843df5370cdc109b725f42aeed4 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | da6bc702d07ce9aa7dc43f6a29fd6f23cbfb6857 (diff) | |
download | bcm5719-llvm-92b33652f6b208cc8e5a1a39472f2549a45de76a.tar.gz bcm5719-llvm-92b33652f6b208cc8e5a1a39472f2549a45de76a.zip |
[OPENMP]Fix handling of the LCVs in loop-based directives.
Loop-control variables with the default data-sharing attributes should
not be captured in the OpenMP region as they are private by default.
Also, default attributes should be emitted for such variables in the
inner OpenMP regions for the correct data sharing during codegen.
llvm-svn: 347409
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions