[Mlir-commits] [mlir] [mlir] Add IR printing flag to skip regions (PR #77726)
Mehdi Amini
llvmlistbot at llvm.org
Thu Jan 11 08:50:18 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:
> I would like this combination to be supported.
Which combination? Why would the "pass manager" using a concise form when it wouldn't be used elsewhere? That seems somehow arbitrary here.
Also I mostly commented on the option name which does not reflect the behavior.
https://github.com/llvm/llvm-project/pull/77726
More information about the Mlir-commits
mailing list