[Mlir-commits] [mlir] [MLIR] Improve Remark documentation to include mlir-opt usage (PR #159284)

Guray Ozen llvmlistbot at llvm.org
Wed Sep 17 04:03:12 PDT 2025


================
@@ -145,6 +154,19 @@ LogicalResult MyPass::runOnOperation() {
 }
 ```
 
+#### Example: Postpone remarks emitting
+
+`RemarkOpts` has `postpone` option. When it is set, the remark emission will be
+postponed until the end of the compilation.
----------------
grypp wrote:

I wrote it here:
https://github.com/grypp/llvm-project/blob/cc673be6642b49c2396e07b86c4e4e52c6b0e7a4/mlir/docs/Remarks.md?plain=1#L102-L105

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


More information about the Mlir-commits mailing list