aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorsameeran joshi <sameeranjayant.joshi@amd.com>2020-10-06 10:21:06 +0530
committerSameeran joshi <joshisameeran17@gmail.com>2020-10-19 21:46:47 +0530
commit4a51691a85a1c048b9028d409b744a6235c55933 (patch)
treef51f0e7bda77b7bca227e3ac451ec552cccc4391 /clang/lib/Frontend/CompilerInvocation.cpp
parentb4bd194378851c2f421477d4147019d10f2420ac (diff)
downloadllvm-4a51691a85a1c048b9028d409b744a6235c55933.zip
llvm-4a51691a85a1c048b9028d409b744a6235c55933.tar.gz
llvm-4a51691a85a1c048b9028d409b744a6235c55933.tar.bz2
[Flang][OpenACC] Fix for branching out issue in OpenACC parallel construct.
From OpenACC 3.0 Standards document 840 • A program may not branch into or out of an OpenACC parallel construct. Exits are allowed provided it does not cause an exit outside the parallel region. Test case exits out of the inner do loop, but it is still inside the parallel region. Patch tries to extract labels from block attached to a construct, If the exit is to a label not in the collected list then flags an error. Reviewed By: tskeith Differential Revision: https://reviews.llvm.org/D87906
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions