[Mlir-commits] [clang] [flang] [mlir] [flang][flang-driver][mlir][OpenMP] atomic control support (PR #143441)

Sergio Afonso llvmlistbot at llvm.org
Tue Jul 1 04:27:34 PDT 2025


================
@@ -58,6 +58,14 @@ void setTargetCPU(mlir::ModuleOp mod, llvm::StringRef cpu);
 /// Get the target CPU string from the Module or return a null reference.
 llvm::StringRef getTargetCPU(mlir::ModuleOp mod);
 
+// Setters and getters for atomic control options.
+void setIgnoreDenormalMode(mlir::ModuleOp mod);
----------------
skatrak wrote:

Setters should allow us to specify a value. Their implementation, when set to `false` would have to remove the associated unit attribute if it's present.
```suggestion
void setIgnoreDenormalMode(mlir::ModuleOp mod, bool value);
```

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


More information about the Mlir-commits mailing list