================ @@ -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. ---------------- skatrak wrote:
Nit: All other getters/setters here are documented individually using doxygen-formatted comments. I'd suggest doing the same, even if a chunk of the description is going to repeat across multiple functions. 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