[llvm-branch-commits] [flang] [Flang][OpenMP] Add combined construct information (PR #198783)

Sergio Afonso via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jun 12 05:01:20 PDT 2026


================
@@ -4189,6 +4189,42 @@ static void genOMPDispatch(lower::AbstractConverter &converter,
   finalizeStmtCtx();
   if (loopLeaf)
     symTable.popScope();
+
+  // Add the omp.combined attribute to eligible ops. In this case, all
+  // composable ops that are not loop-associated, except for the ones that can
+  // only appear as the innermost leaf construct.
----------------
skatrak wrote:

Thanks for pointing this out, I made some clarifications to the comments there. Hopefully it's easier to follow now, let me know.

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


More information about the llvm-branch-commits mailing list