commit | 69a4779965a47ca7ce767a2c28fd8ffc041df77c | [log] [tgz] |
---|---|---|
author | Alexey Bataev <a.bataev@hotmail.com> | Thu May 07 03:54:03 2015 +0000 |
committer | Alexey Bataev <a.bataev@hotmail.com> | Thu May 07 03:54:03 2015 +0000 |
tree | d74ed279af56fec28db57f8d51ac2caa1fba0741 | |
parent | 28b8ea1d551dea33232359329a63fd8d8b3e410d [diff] |
[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