[llvm] [VPlan] Add hidden `-vplan-print-after-all` option (PR #178547)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 28 22:56:25 PST 2026
================
@@ -366,6 +366,10 @@ cl::opt<bool>
cl::Hidden,
cl::desc("Verfiy VPlans after VPlan transforms."));
+cl::opt<bool> llvm::PrintAfterEachVPlanPass(
+ "vplan-print-after-all", cl::init(false), cl::Hidden,
+ cl::desc("Print after each VPlanTransforms::runPass."));
+
----------------
lukel97 wrote:
But LLVM IR is always printable so it will work even in release builds without LLVM_ENABLE_DUMP. If we just remove the option when it's not available then you don't need to worry about the `dbgs() << "LLVM DUMP is disabled!\n";` error message
https://github.com/llvm/llvm-project/pull/178547
More information about the llvm-commits
mailing list