[llvm] [VPlan] Implement printing VPIRMetadata. (PR #168385)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 25 04:03:45 PST 2025
================
@@ -507,6 +507,11 @@ void VPRecipeBase::print(raw_ostream &O, const Twine &Indent,
O << ", !dbg ";
DL.print(O);
}
+
+ if (auto *Metadata = dyn_cast<VPIRMetadata>(this)) {
+ if (const VPBasicBlock *Parent = getParent())
----------------
fhahn wrote:
Yes, it can be convenient to print a recipe just after construction, before inserted into a block when debugging, or after removing from a block.
https://github.com/llvm/llvm-project/pull/168385
More information about the llvm-commits
mailing list