[Mlir-commits] [mlir] [mlir] Add IR printing flag to skip regions (PR #77726)

Mehdi Amini llvmlistbot at llvm.org
Thu Jan 11 04:32:16 PST 2024


================
@@ -58,6 +58,12 @@ struct PassManagerOptions {
       llvm::cl::desc("When printing IR for print-ir-[before|after]{-all} "
                      "always print the top-level operation"),
       llvm::cl::init(false)};
+  llvm::cl::opt<bool> printSkipRegions{
+      "mlir-print-ir-skip-regions",
----------------
joker-eph wrote:

The name of this option does not match a PassManager flag, it looks like a more general option like `mlir-print-op-generic`: why didn't you implement it there?

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


More information about the Mlir-commits mailing list