diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2015-05-07 03:54:03 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2015-05-07 03:54:03 +0000 |
commit | 69a4779965a47ca7ce767a2c28fd8ffc041df77c (patch) | |
tree | d74ed279af56fec28db57f8d51ac2caa1fba0741 /clang/lib/Sema/SemaDecl.cpp | |
parent | 28b8ea1d551dea33232359329a63fd8d8b3e410d (diff) | |
download | bcm5719-llvm-69a4779965a47ca7ce767a2c28fd8ffc041df77c.tar.gz bcm5719-llvm-69a4779965a47ca7ce767a2c28fd8ffc041df77c.zip |
[OPENMP] Fixed codegen for 'reduction' clause.
Fixed codegen for reduction operations min, max, && and ||. Codegen for them is quite similar and I was confused by this similarity.
Also added a call to kmpc_end_reduce() in atomic part of reduction codegen (call to kmpc_end_reduce_nowait() is not required).
Differential Revision: http://reviews.llvm.org/D9513
llvm-svn: 236689
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
0 files changed, 0 insertions, 0 deletions