[Mlir-commits] [flang] [llvm] [mlir] [Flang][OpenMP] Fix Flang crash and incorrect ordering with OpenMP detached task (PR #194840)

Tom Eccles llvmlistbot at llvm.org
Thu Apr 30 04:46:52 PDT 2026


================
@@ -766,6 +766,17 @@ class OmpAttributeVisitor : DirectiveAttributeVisitor<llvm::omp::Directive> {
         *parser::omp::GetOmpObjectList(x), Symbol::Flag::OmpLastPrivate);
     return false;
   }
+  bool Pre(const parser::OmpClause::Detach &x) {
----------------
tblah wrote:

Please add a flang semantics symbols regression test for this, similar to `flang/test/Semantics/OpenMP/implicit-dsa.f90`. 

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


More information about the Mlir-commits mailing list