diff options
author | Krzysztof Parzyszek <Krzysztof.Parzyszek@amd.com> | 2023-12-15 09:32:57 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-15 09:32:57 -0600 |
commit | 82e91b91ca0ceab5ee977295540643ce67153f89 (patch) | |
tree | 8ac2cf716948357557c57d27706376adcbb3ed4e /libcxx/test/std/algorithms/alg.nonmodifying | |
parent | 306bd23e50c3389c2b593d5e4eeabf0912094557 (diff) | |
download | llvm-82e91b91ca0ceab5ee977295540643ce67153f89.zip llvm-82e91b91ca0ceab5ee977295540643ce67153f89.tar.gz llvm-82e91b91ca0ceab5ee977295540643ce67153f89.tar.bz2 |
[flang][OpenMP] Move handling of OpenMP symbol flags to OpenMP.cpp (#75523)
The function `instantiateVariable` in Bridge.cpp has the following code:
```
if (var.getSymbol().test(
Fortran::semantics::Symbol::Flag::OmpThreadprivate))
Fortran::lower::genThreadprivateOp(*this, var);
if (var.getSymbol().test(
Fortran::semantics::Symbol::Flag::OmpDeclareTarget))
Fortran::lower::genDeclareTargetIntGlobal(*this, var);
```
Implement `handleOpenMPSymbolProperties` in OpenMP.cpp, move the above
code there, and have `instantiateVariable` call this function instead.
This would further separate OpenMP-related details into OpenMP.cpp.
Diffstat (limited to 'libcxx/test/std/algorithms/alg.nonmodifying')
0 files changed, 0 insertions, 0 deletions