[Mlir-commits] [clang] [flang] [mlir] [flang][flang-driver][mlir][OpenMP] atomic control support (PR #143441)
Sergio Afonso
llvmlistbot at llvm.org
Thu Jul 24 07:21:28 PDT 2025
================
@@ -88,6 +88,53 @@ void fir::setTuneCPU(mlir::ModuleOp mod, llvm::StringRef cpu) {
mod->setAttr(tuneCpuName, mlir::StringAttr::get(ctx, cpu));
}
+static constexpr const char *atomicIgnoreDenormalModeName =
+ "fir.atomic_ignore_denormal_mode";
+void fir::setAtomicIgnoreDenormalMode(mlir::ModuleOp mod, bool value) {
----------------
skatrak wrote:
Ultra-nit: Keep spacing consistent. There are other instances below.
```suggestion
static constexpr const char *atomicIgnoreDenormalModeName =
"fir.atomic_ignore_denormal_mode";
void fir::setAtomicIgnoreDenormalMode(mlir::ModuleOp mod, bool value) {
```
https://github.com/llvm/llvm-project/pull/143441
More information about the Mlir-commits
mailing list