[flang-commits] [clang] [flang] [flang][OpenMP] Add -f[no]-openmp-simd (PR #150269)

Tom Eccles via flang-commits flang-commits at lists.llvm.org
Thu Jul 24 03:01:07 PDT 2025


================
@@ -208,11 +208,12 @@ void ClauseProcessor::processTODO(mlir::Location currentLocation,
     if (!x)
       return;
     unsigned version = semaCtx.langOptions().OpenMPVersion;
-    TODO(currentLocation,
-         "Unhandled clause " + llvm::omp::getOpenMPClauseName(id).upper() +
-             " in " +
-             llvm::omp::getOpenMPDirectiveName(directive, version).upper() +
-             " construct");
+    if (!semaCtx.langOptions().OpenMPSimd)
----------------
tblah wrote:

We could (in theory) have unhandled clauses on the simd directive

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


More information about the flang-commits mailing list