diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2014-11-18 10:14:22 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2014-11-18 10:14:22 +0000 |
commit | 62cec44ca45121206d611722f98b109ecbd6e11d (patch) | |
tree | 55066140d95e462f0a67a0336f8ebd7b399eef67 /llvm/unittests/Analysis/CallGraphTest.cpp | |
parent | 6fdb6b8fd4e18c0741a839a11d7dee7077bc7505 (diff) | |
download | bcm5719-llvm-62cec44ca45121206d611722f98b109ecbd6e11d.tar.gz bcm5719-llvm-62cec44ca45121206d611722f98b109ecbd6e11d.zip |
[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
Diffstat (limited to 'llvm/unittests/Analysis/CallGraphTest.cpp')
0 files changed, 0 insertions, 0 deletions