[Mlir-commits] [mlir] [MLIR][IR] add -mlir-print-unique-ids to AsmPrinter (PR #91241)

Scott Manley llvmlistbot at llvm.org
Mon May 6 11:07:37 PDT 2024


================
@@ -189,6 +189,11 @@ struct AsmPrinterOptions {
       "mlir-print-value-users", llvm::cl::init(false),
       llvm::cl::desc(
           "Print users of operation results and block arguments as a comment")};
+
+  llvm::cl::opt<bool> printUniqueIDs{
+      "mlir-print-unique-ids", llvm::cl::init(false),
----------------
rscottmanley wrote:

Unless you feel strongly it should be a named option, I like `-mlir-print-unique-ssa-ids`.

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


More information about the Mlir-commits mailing list