| commit | 62cec44ca45121206d611722f98b109ecbd6e11d | [log] [tgz] |
|---|---|---|
| author | Alexey Bataev <a.bataev@hotmail.com> | Tue Nov 18 10:14:22 2014 +0000 |
| committer | Alexey Bataev <a.bataev@hotmail.com> | Tue Nov 18 10:14:22 2014 +0000 |
| tree | 55066140d95e462f0a67a0336f8ebd7b399eef67 | |
| parent | 6fdb6b8fd4e18c0741a839a11d7dee7077bc7505 [diff] |
[OPENMP] Additional processing of 'omp atomic read' directive. According to OpenMP standard, Section 2.12.6, atomic Construct, '#pragma omp atomic read' is allowed to be used only for expression statements of form 'v = x;', where x and v (as applicable) are both l-value expressions with scalar type. Patch adds checks for it. llvm-svn: 222231