[flang-commits] [flang] [llvm] [flang][OpenMP] Overhaul implementation of ATOMIC construct (PR #137852)
Krzysztof Parzyszek via flang-commits
flang-commits at lists.llvm.org
Wed Jun 4 06:10:14 PDT 2025
================
@@ -41,10 +41,13 @@
#include "mlir/Transforms/RegionUtils.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Frontend/OpenMP/OMPConstants.h"
+#include "llvm/Support/CommandLine.h"
using namespace Fortran::lower::omp;
using namespace Fortran::common::openmp;
+static llvm::cl::opt<bool> DumpAtomicAnalysis("fdebug-dump-atomic-analysis");
----------------
kparzysz wrote:
Yeah, it's there as a debugging aid. I'd like to keep it though, since it may come in handy if there are issues discovered in the future. Let me know what you think.
https://github.com/llvm/llvm-project/pull/137852
More information about the flang-commits
mailing list