[PATCH] D147218: [OpenMP][Flang][MLIR] Lowering of OpenMP requires directive from parse tree to MLIR
Kiran Chandramohan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 2 15:03:10 PDT 2023
kiranchandramohan added inline comments.
================
Comment at: flang/lib/Lower/Bridge.cpp:271
+ bridge{bridge}, foldingContext{bridge.createFoldingContext()},
+ ompRequiresFlags{mlir::omp::ClauseRequires::none} {}
virtual ~FirConverter() = default;
----------------
Is this set anywhere? If not is it required? Can this be made available through the bridge?
================
Comment at: flang/lib/Lower/Bridge.cpp:2234
+ /// Extract information from OpenMP declarative constructs
+ void analyzeOpenMPDeclarative(
+ const Fortran::parser::OpenMPDeclarativeConstruct &ompDecl) {
----------------
Can this function be moved to OpenMP.cpp?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147218/new/
https://reviews.llvm.org/D147218
More information about the cfe-commits
mailing list