[llvm] [VPlan] Implement printing VPIRMetadata. (PR #168385)
Mel Chen via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 25 01:55:01 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())
----------------
Mel-Chen wrote:
Could a recipe have no parent basic block?
https://github.com/llvm/llvm-project/pull/168385
More information about the llvm-commits
mailing list