[Mlir-commits] [mlir] [mlir] Add IR printing flag to skip regions (PR #77726)
Jakub Kuderski
llvmlistbot at llvm.org
Thu Jan 11 08:36:41 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",
----------------
kuhar wrote:
The AsmPrinter flags seem to have a global effect, I this would disallow me from using `--mlir-print-ir-*` in the concise form with verbose prints (inc., regions) with `--debug-only=`, no? I would like this combination to be allowed.
I'm not very familiar with this part of the codebase so please correct me if I'm wrong.
https://github.com/llvm/llvm-project/pull/77726
More information about the Mlir-commits
mailing list