[flang-commits] [flang] [llvm] [flang][OpenMP] Decompose compound constructs, do recursive lowering (PR #90098)

Sergio Afonso via flang-commits flang-commits at lists.llvm.org
Tue May 7 09:09:08 PDT 2024


================
@@ -2017,36 +2166,47 @@ static void genOMP(Fortran::lower::AbstractConverter &converter,
       semaCtx);
   mlir::Location currentLocation = converter.genLocation(directive.source);
 
+  ConstructQueue queue{
+      buildConstructQueue(converter.getFirOpBuilder().getModule(), semaCtx,
+                          eval, directive.source, directive.v, clauses)};
+
   switch (directive.v) {
----------------
skatrak wrote:

That's funny, you mispredicted a branch there! I think it's fine to make a follow-up PR for that.

https://github.com/llvm/llvm-project/pull/90098


More information about the flang-commits mailing list