diff options
| author | Krzysztof Parzyszek <Krzysztof.Parzyszek@amd.com> | 2025-10-16 06:28:09 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-16 06:28:09 -0500 |
| commit | bd79667fc26b60c4df9282541329cb1a30a86d11 (patch) | |
| tree | a6e9fdd7329ec3614ffc2e7dc232637c542d4070 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
| parent | c2eed93e20e078389bd42a2a2f4b6cbd16a70adb (diff) | |
| download | llvm-bd79667fc26b60c4df9282541329cb1a30a86d11.zip llvm-bd79667fc26b60c4df9282541329cb1a30a86d11.tar.gz llvm-bd79667fc26b60c4df9282541329cb1a30a86d11.tar.bz2 | |
[flang][OpenMP] Set REQUIRES flags on program unit symbol (#163448)
REQUIRES clauses apply to the compilation unit, which the OpenMP spec
defines as the program unit in Fortran.
Don't set REQUIRES flags on all containing scopes, only on the containng
program unit, where flags coming from different directives are gathered.
If we wanted to set the flags on subprograms, we would need to first
accummulate all of them, then propagate them down to all subprograms.
That is not done as it is not necessary (the containing program unit is
always available).
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions
