[flang-commits] [flang] [Flang][MLIR][OpenMP] Create a deferred declare target marking process for Bridge.cpp (PR #78502)
Sergio Afonso via flang-commits
flang-commits at lists.llvm.org
Mon Feb 26 03:42:59 PST 2024
================
@@ -5078,6 +5088,13 @@ class FirConverter : public Fortran::lower::AbstractConverter {
/// intended for device offloading has been detected
bool ompDeviceCodeFound = false;
+ /// Keeps track of symbols defined as declare target that could not be
+ /// processed at the time of lowering the declare target construct, such
+ /// as certain cases where interfaces are declared but not defined within
+ /// a module.
+ llvm::SmallVector<Fortran::lower::OMPDeferredDeclareTargetInfo, 2>
----------------
skatrak wrote:
I think we should be able to use the default now.
```suggestion
llvm::SmallVector<Fortran::lower::OMPDeferredDeclareTargetInfo>
```
https://github.com/llvm/llvm-project/pull/78502
More information about the flang-commits
mailing list