[flang-commits] [flang] [flang] Remove `do concurrent` mapping experimental warning (PR #195009)

Kareem Ergawy via flang-commits flang-commits at lists.llvm.org
Wed Apr 29 22:54:01 PDT 2026


https://github.com/ergawy created https://github.com/llvm/llvm-project/pull/195009

Removes the warning downstream for now since the pass has been validated on both CPUs and to a lesser extent on GPUs.

>From be2faf871021e80b3e2c8fc1f558bff4828ca5d8 Mon Sep 17 00:00:00 2001
From: Kareem Ergawy <kareem.ergawy at amd.com>
Date: Wed, 29 Apr 2026 17:38:41 +0200
Subject: [PATCH] [flang] Remove `do concurrent` mapping experimental warning

Removes the warning downstream for now since the pass has been validated
on both CPUs and to a lesser extent on GPUs.
---
 flang/lib/Frontend/FrontendActions.cpp | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/flang/lib/Frontend/FrontendActions.cpp b/flang/lib/Frontend/FrontendActions.cpp
index 4e058786a9a72..b5a7078486212 100644
--- a/flang/lib/Frontend/FrontendActions.cpp
+++ b/flang/lib/Frontend/FrontendActions.cpp
@@ -329,13 +329,6 @@ bool CodeGenAction::beginSourceFileAction() {
     opts.doConcurrentMappingKind = DoConcurrentMappingKind::DCMK_None;
   }
 
-  if (opts.doConcurrentMappingKind != DoConcurrentMappingKind::DCMK_None) {
-    unsigned diagID = ci.getDiagnostics().getCustomDiagID(
-        clang::DiagnosticsEngine::Warning,
-        "Mapping `do concurrent` to OpenMP is still experimental.");
-    ci.getDiagnostics().Report(diagID);
-  }
-
   if (isOpenMPEnabled) {
     opts.isTargetDevice = false;
     if (auto offloadMod = llvm::dyn_cast<mlir::omp::OffloadModuleInterface>(



More information about the flang-commits mailing list