[Mlir-commits] [mlir] [MLIR][IR] add -mlir-print-unique-ids to AsmPrinter (PR #91241)
Mehdi Amini
llvmlistbot at llvm.org
Mon May 6 10:22:02 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),
----------------
joker-eph wrote:
Should this be `-mlir-print-unique-ssa-ids` to be more explicit? "unique ids" seems a bit generic.
Or an option with a named value: `-mlir-print-ssa-ids-scope={local, global}`
https://github.com/llvm/llvm-project/pull/91241
More information about the Mlir-commits
mailing list