[flang-commits] [flang] [mlir] [mlir] add option to print SSA IDs using `NameLoc`s as prefixes (PR #119996)

Jacques Pienaar via flang-commits flang-commits at lists.llvm.org
Sun Dec 15 22:46:27 PST 2024


================
@@ -195,6 +196,10 @@ struct AsmPrinterOptions {
       "mlir-print-unique-ssa-ids", llvm::cl::init(false),
       llvm::cl::desc("Print unique SSA ID numbers for values, block arguments "
                      "and naming conflicts across all regions")};
+
+  llvm::cl::opt<bool> useNameLocAsPrefix{
+      "mlir-use-nameloc-as-prefix", llvm::cl::init(false),
+      llvm::cl::desc("Print SSA IDs using NameLocs as prefixes")};
----------------
jpienaar wrote:

Is this all or only those not set via OpAsmInterface?

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


More information about the flang-commits mailing list