aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/BasicBlock.cpp
diff options
context:
space:
mode:
authorSergio Afonso <safonsof@amd.com>2023-08-15 15:12:43 +0100
committerSergio Afonso <safonsof@amd.com>2023-09-11 11:48:07 +0100
commit3787fd942f3927345320cc97a479f13e44355805 (patch)
treee21f37a8a8994ca7ff1ccf46bbc0cee0dd10aad7 /llvm/lib/IR/BasicBlock.cpp
parent7d574ffa090ed1c7c14d1a333f81eae40896510c (diff)
downloadllvm-3787fd942f3927345320cc97a479f13e44355805.zip
llvm-3787fd942f3927345320cc97a479f13e44355805.tar.gz
llvm-3787fd942f3927345320cc97a479f13e44355805.tar.bz2
[Flang][OpenMP][Sema] Support propagation of REQUIRES information across program units
This patch adds support for storing OpenMP REQUIRES information in the semantics symbols for programs/subprograms and modules/submodules, and populates them during directive resolution. A pass is added to name resolution that makes sure this information is also propagated across top-level programs, functions and subprograms. Storing REQUIRES information inside of semantics symbols will also allow supporting the propagation of this information across Fortran modules. This will come as a separate patch. The `bool DirectiveAttributeVisitor::Pre(const parser::SpecificationPart &x)` method is removed since it resulted in specification parts being visited twice. This is patch 3/5 of a series splitting D149337 to simplify review. Differential Revision: https://reviews.llvm.org/D157983
Diffstat (limited to 'llvm/lib/IR/BasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions