================ @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits